ishapes-ag凯发旗舰厅



com.spire.xls.core
interface ishapes

all superinterfaces:
java.lang.iterable

public interface ishapes
extends java.lang.iterable

method summary
 ichartshape add()
          adds new chart shape to the collection.
 icheckbox addcheckbox()
          adds new check box to the collection.
 icomboboxshape addcombobox()
          adds new check box to the collection.
 icommentshape addcomment()
          adds new comment shape with empty comment text to the collection.
 icommentshape addcomment(java.lang.string commenttext)
          adds new comment shape to the collection.
 icommentshape addcomment(java.lang.string commenttext, boolean bisparseoptions)
          adds new comment shape to the collection.
 ishape addcopy(ishape sourceshape)
          adds shape copy to the collection.
 ishape addcopy(ishape sourceshape, java.util.hashtable hashnewnames, com.spire.ms.system.collections.generic.list arrfontindexes)
          adds shape copy to shapes collection.
 ilineshape addline(java.awt.point startpoint, java.awt.point endpoint, lineshapetype lineshapetype)
          adds new text line to the collection.
 iovalshape addoval(int row, int column, int height, int width)
          add new oval shape in the collection.
 ipictureshape addpicture(java.awt.image.bufferedimage image, java.lang.string picturename, imageformattype imageformat)
          adds new image to the collection.
 ipictureshape addpicture(java.lang.string filename)
          adds new image to the collection.
 iradiobutton addradiobutton()
          adds new ootion button to the collection.
 itextboxlinkshape addtextbox()
          adds new text box to the collection.
 ishape get(int index)
          returns single shape from the collection by its index.
 ishape get(java.lang.string strshapename)
          returns single shape from the collection by its name.
 int getcount()
          returns the number of objects in the collection.
 
method detail

add

ichartshape add()
adds new chart shape to the collection.
returns:
newly added shape.

addline

ilineshape addline(java.awt.point startpoint,
                   java.awt.point endpoint,
                   lineshapetype lineshapetype)
adds new text line to the collection.
parameters:
startpoint - startpoint
endpoint - endpoint
lineshapetype - lineshapetype
returns:
newly created line.

addpicture

ipictureshape addpicture(java.awt.image.bufferedimage image,
                         java.lang.string picturename,
                         imageformattype imageformat)
adds new image to the collection.
parameters:
image - image to add.
picturename - file name with the image.
imageformat - image format to use for picture storing.
returns:
newly created picture shape.

addpicture

ipictureshape addpicture(java.lang.string filename)
adds new image to the collection.
parameters:
filename - file name with the image.
returns:
newly created picture shape.

addcomment

icommentshape addcomment(java.lang.string commenttext,
                         boolean bisparseoptions)
adds new comment shape to the collection.
parameters:
commenttext - text of the comment.
bisparseoptions - indicates is parse comment xlsfill line options.
returns:
newly added shape.

addcomment

icommentshape addcomment(java.lang.string commenttext)
adds new comment shape to the collection.
parameters:
commenttext - text of the comment.
returns:
newly added shape.

addcomment

icommentshape addcomment()
adds new comment shape with empty comment text to the collection.
returns:
newly added shape.

addcopy

ishape addcopy(ishape sourceshape)
adds shape copy to the collection.
parameters:
sourceshape - shape to copy.
returns:
added shape.

addcopy

ishape addcopy(ishape sourceshape,
               java.util.hashtable hashnewnames,
               com.spire.ms.system.collections.generic.list arrfontindexes)
adds shape copy to shapes collection.
parameters:
sourceshape - shape to copy.
hashnewnames - hashtable with new names of worksheets.
arrfontindexes - array list with new font indexes.
returns:
added shape.

addtextbox

itextboxlinkshape addtextbox()
adds new text box to the collection.
returns:
newly created textbox.

addoval

iovalshape addoval(int row,
                   int column,
                   int height,
                   int width)
add new oval shape in the collection.
returns:

addcheckbox

icheckbox addcheckbox()
adds new check box to the collection.
returns:
newly created checkbox.

addcombobox

icomboboxshape addcombobox()
adds new check box to the collection.
returns:
newly created checkbox.

addradiobutton

iradiobutton addradiobutton()
adds new ootion button to the collection.
returns:
newly created checkbox.

getcount

int getcount()
returns the number of objects in the collection. read-only long.

get

ishape get(int index)
returns single shape from the collection by its index.

get

ishape get(java.lang.string strshapename)
returns single shape from the collection by its name. read-only.


网站地图