ishape-ag凯发旗舰厅



com.spire.xls.core
interface ishape

all known subinterfaces:
iarcshape, ibuttonshape, ichartshape, icheckbox, icomboboxshape, icomment, icommentshape, igroupbox, ilabelshape, ilineshape, ilistbox, iovalshape, ipictureshape, iprstgeomshape, iradiobutton, irectangleshape, iscrollbarshape, ispinnershape, itextboxlinkshape, itextboxshape
all known implementing classes:
chart, excelcomment, excelcommentobject, excelpicture, xlsarcshape, xlsbitmapshape, xlschartshape, xlscheckboxshape, xlscomboboxshape, xlscomment, xlslineshape, xlslistboxshape, xlsovalshape, xlsprstgeomshape, xlsradiobuttonshape, xlsrectangleshape, xlsscrollbarshape, xlsshape, xlsspinnershape, xlstextboxshape

public interface ishape

method summary
 java.lang.string getalternativetext()
          returns or sets the descriptive (alternative) text string for a shape object.
 ishapefill getfill()
           
 int getheight()
          the height of the object.
 java.lang.string gethtmlstring()
          gets the html string which contains data and some formattings in this shape.
 int getid()
          returns the type for the specified object.
 int getleft()
          the distance from the left edge of the object to the left edge of column a (on a worksheet) or the left edge of the chart area (on a chart).
 java.lang.string getname()
          returns or sets the name of the object.
 java.lang.string getonaction()
           
 resizebehavetype getresizebehave()
          specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid)
 int getrotation()
          returns or sets the rotation of the shape, in degrees.
 ishadow getshadow()
           
 excelshapetype getshapetype()
          the shape type of the object.
 iformat3d getthreed()
           
 int gettop()
          the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet.
 boolean getvisible()
          determines whether the object is visible.
 int getwidth()
          the width of the object.
 boolean islockaspectratio()
          true means that don't allow changes in aspect ratio.
 void islockaspectratio(boolean value)
          true means that don't allow changes in aspect ratio.
 boolean islocked()
          true if the object is locked, false if the object can be modified when the sheet is protected.
 void islocked(boolean value)
          true if the object is locked, false if the object can be modified when the sheet is protected.
 boolean isprintable()
          true if the object is printable
 void isprintable(boolean value)
          true if the object is printable
 void remove()
          removes this shape from shapes collection.
 void scale(int scalewidth, int scaleheight)
          scales the shape.
 void setheight(int height)
          sets the height of the object.
 void sethtmlstring(java.lang.string value)
          sets the html string which contains data and some formattings in this shape.
 void setname(java.lang.string value)
          returns or sets the name of the object.
 void setonaction(java.lang.string value)
           
 void setresizebehave(resizebehavetype value)
          specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid)
 void setrotation(int value)
          returns or sets the rotation of the shape, in degrees.
 void settop(int top)
          sets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet.
 void setvisible(boolean value)
          determines whether the object is visible.
 void setwidth(int width)
          sets the width of the object.
 
method detail

getheight

int getheight()
the height of the object. read/write integer

setheight

void setheight(int height)
sets the height of the object. write integer

getid

int getid()
returns the type for the specified object. read-only integer.

getleft

int getleft()
the distance from the left edge of the object to the left edge of column a (on a worksheet) or the left edge of the chart area (on a chart). read/write integer.

getname

java.lang.string getname()
returns or sets the name of the object. read/write string.

setname

void setname(java.lang.string value)
returns or sets the name of the object. read/write string.

gettop

int gettop()
the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. read/write integer.

settop

void settop(int top)
sets the distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. write integer.

getwidth

int getwidth()
the width of the object. read/write integer.

setwidth

void setwidth(int width)
sets the width of the object. write integer.

gethtmlstring

java.lang.string gethtmlstring()
gets the html string which contains data and some formattings in this shape.
returns:

sethtmlstring

void sethtmlstring(java.lang.string value)
sets the html string which contains data and some formattings in this shape.
parameters:
value -

getshapetype

excelshapetype getshapetype()
the shape type of the object.

getvisible

boolean getvisible()
determines whether the object is visible.

setvisible

void setvisible(boolean value)
determines whether the object is visible.

getalternativetext

java.lang.string getalternativetext()
returns or sets the descriptive (alternative) text string for a shape object.

getfill

ishapefill getfill()

getonaction

java.lang.string getonaction()

setonaction

void setonaction(java.lang.string value)

getshadow

ishadow getshadow()

getthreed

iformat3d getthreed()

getrotation

int getrotation()
returns or sets the rotation of the shape, in degrees.

setrotation

void setrotation(int value)
returns or sets the rotation of the shape, in degrees.

getresizebehave

resizebehavetype getresizebehave()
specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid)

setresizebehave

void setresizebehave(resizebehavetype value)
specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid)

islocked

boolean islocked()
true if the object is locked, false if the object can be modified when the sheet is protected.

islocked

void islocked(boolean value)
true if the object is locked, false if the object can be modified when the sheet is protected.

isprintable

boolean isprintable()
true if the object is printable

isprintable

void isprintable(boolean value)
true if the object is printable

islockaspectratio

boolean islockaspectratio()
true means that don't allow changes in aspect ratio.

islockaspectratio

void islockaspectratio(boolean value)
true means that don't allow changes in aspect ratio.

remove

void remove()
removes this shape from shapes collection.

scale

void scale(int scalewidth,
           int scaleheight)
scales the shape.
parameters:
scalewidth - width scale in percents.
scaleheight - height scale in percents.


网站地图