iautoshape-ag凯发旗舰厅



com.spire.presentation
interface iautoshape

all superinterfaces:
ishape

public interface iautoshape
extends ishape

method summary
 void appendtextframe(java.lang.string text)
          adds a new textframe to a shape.
 void dispose()
          dispose object and free resources.
 shapeadjustcollection getadjustments()
           
 java.lang.string getalternativetext()
          gets the alternative text associated with a shape.
 clickhyperlink getclick()
          gets the hyperlink defined for mouse click.
 effectdag geteffectdag()
          gets the effectformat object which contains pixel effects applied to a shape.
 fillformat getfill()
          gets the fillformat object that contains fill formatting properties for a shape.
 graphicframe getframe()
          gets or sets the shape frame's properties.
 float getheight()
          gets the height of the shape.
 float getleft()
          gets the x-coordinate of the upper-left corner of the shape.
 textlineformat getline()
          gets the lineformat object that contains line formatting properties for a shape.
 shapelocking getlocking()
          gets shape's locks.
 clickhyperlink getmouseover()
          gets the hyperlink defined for mouse over.
 java.lang.string getname()
          gets the name of a shape.
 activeslide getparent()
          gets the parent slide of a shape.
 placeholderex getplaceholder()
          gets the placeholder for a shape.
 presentation getpresentation()
           
 float getrotation()
          gets the number of degrees the specified shape is rotated.
 shapestyleex getshapestyle()
           
 shapetype getshapetype()
           
 activeslide getslide()
          gets the parent slide of a shape.
 tagcollection gettagslist()
          gets the shape's tags collection.
 itextframeproperties gettextframe()
          gets textframe object for the autoshape.
 formatthreed getthreed()
          gets the threedformat object that 3d effect properties for a shape read-only .
 float gettop()
          gets the y-coordinate of the upper-left corner of the shape.
 boolean getusebackgroundfill()
          indicates whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
 float getwidth()
          gets the width of the shape.
 int getzorderposition()
          gets the position of a shape in the z-order.
 boolean ishidden()
          indicates whether the shape is hidden.
 void ishidden(boolean value)
           
 boolean isplaceholder()
          indicates whether the shape is placeholder.
 boolean istextbox()
          indicates whether the shape is textbox.
 void removeplaceholder()
          removes placeholder from the shape.
 void setalternativetext(java.lang.string value)
          sets the alternative text associated with a shape.
 void setclick(clickhyperlink value)
          sets the hyperlink defined for mouse click.
 void setframe(graphicframe value)
          sets the shape frame's properties.
 void setheight(float value)
          sets the height of the shape.
 void setleft(double value)
          sets the x-coordinate of the upper-left corner of the shape.
 void setmouseover(clickhyperlink value)
          sets the hyperlink defined for mouse over.
 void setname(java.lang.string value)
          sets the name of a shape.
 void setrotation(float value)
          sets the number of degrees the specified shape is rotated.
 void setshapetype(shapetype value)
           
 void settop(double value)
          sets the y-coordinate of the upper-left corner of the shape.
 void setusebackgroundfill(boolean value)
           
 void setwidth(float value)
          sets the width of the shape.
 void setzorderposition(int zorderposition)
          sets the position of a shape in the z-order.
 
methods inherited from interface com.spire.presentation.ishape
getalternativetitle, getid, getlayoutprototype, insertchart, insertpicture, insertsmartart, inserttable, insertvideo, setalternativetitle, setshapealignment, setshapearrange
 
method detail

getlocking

shapelocking getlocking()
gets shape's locks. read-only .
returns:

gettextframe

itextframeproperties gettextframe()
gets textframe object for the autoshape. read-only .
returns:

getusebackgroundfill

boolean getusebackgroundfill()
indicates whether this autoshape should be filled with slide's background fill instead of specified by style or fill format. read/write bool.
returns:

setusebackgroundfill

void setusebackgroundfill(boolean value)

getshapestyle

shapestyleex getshapestyle()

getshapetype

shapetype getshapetype()

setshapetype

void setshapetype(shapetype value)

getadjustments

shapeadjustcollection getadjustments()

isplaceholder

boolean isplaceholder()
indicates whether the shape is placeholder. read-only .
specified by:
isplaceholder in interface ishape
returns:

istextbox

boolean istextbox()
indicates whether the shape is textbox. read-only .
specified by:
istextbox in interface ishape
returns:

getplaceholder

placeholderex getplaceholder()
gets the placeholder for a shape. read-only .
specified by:
getplaceholder in interface ishape
returns:

gettagslist

tagcollection gettagslist()
gets the shape's tags collection. read-only .
specified by:
gettagslist in interface ishape
returns:

getframe

graphicframe getframe()
gets or sets the shape frame's properties. read/write .
specified by:
getframe in interface ishape
returns:

setframe

void setframe(graphicframe value)
description copied from interface: ishape
sets the shape frame's properties. read/write .
specified by:
setframe in interface ishape

getline

textlineformat getline()
gets the lineformat object that contains line formatting properties for a shape. read-only .
specified by:
getline in interface ishape
returns:

getthreed

formatthreed getthreed()
gets the threedformat object that 3d effect properties for a shape read-only .
specified by:
getthreed in interface ishape
returns:

geteffectdag

effectdag geteffectdag()
gets the effectformat object which contains pixel effects applied to a shape. can return null for certain types of shapes which don't have effect properties. read-only
specified by:
geteffectdag in interface ishape
returns:

getfill

fillformat getfill()
gets the fillformat object that contains fill formatting properties for a shape. read-only .
specified by:
getfill in interface ishape
returns:

getclick

clickhyperlink getclick()
gets the hyperlink defined for mouse click. read/write .
specified by:
getclick in interface ishape
returns:

setclick

void setclick(clickhyperlink value)
sets the hyperlink defined for mouse click. read/write .
specified by:
setclick in interface ishape

getmouseover

clickhyperlink getmouseover()
gets the hyperlink defined for mouse over. read/write .
specified by:
getmouseover in interface ishape
returns:

setmouseover

void setmouseover(clickhyperlink value)
sets the hyperlink defined for mouse over. read/write .
specified by:
setmouseover in interface ishape

ishidden

boolean ishidden()
indicates whether the shape is hidden. read/write .
specified by:
ishidden in interface ishape
returns:

ishidden

void ishidden(boolean value)
specified by:
ishidden in interface ishape

getparent

activeslide getparent()
gets the parent slide of a shape. read-only .
specified by:
getparent in interface ishape
returns:

getzorderposition

int getzorderposition()
gets the position of a shape in the z-order. read-only .
specified by:
getzorderposition in interface ishape
returns:

setzorderposition

void setzorderposition(int zorderposition)
sets the position of a shape in the z-order.
specified by:
setzorderposition in interface ishape
parameters:
zorderposition -

getrotation

float getrotation()
gets the number of degrees the specified shape is rotated. read/write .
specified by:
getrotation in interface ishape
returns:

setrotation

void setrotation(float value)
sets the number of degrees the specified shape is rotated. read/write .
specified by:
setrotation in interface ishape

getleft

float getleft()
gets the x-coordinate of the upper-left corner of the shape. read/write .
specified by:
getleft in interface ishape
returns:

setleft

void setleft(double value)
sets the x-coordinate of the upper-left corner of the shape. read/write .
specified by:
setleft in interface ishape

gettop

float gettop()
gets the y-coordinate of the upper-left corner of the shape. read/write .
specified by:
gettop in interface ishape
returns:

settop

void settop(double value)
sets the y-coordinate of the upper-left corner of the shape. read/write .
specified by:
settop in interface ishape

getwidth

float getwidth()
gets the width of the shape. read/write .
specified by:
getwidth in interface ishape
returns:

setwidth

void setwidth(float value)
sets the width of the shape. read/write .
specified by:
setwidth in interface ishape

getheight

float getheight()
gets the height of the shape. read/write .
specified by:
getheight in interface ishape
returns:

setheight

void setheight(float value)
sets the height of the shape. read/write .
specified by:
setheight in interface ishape

getalternativetext

java.lang.string getalternativetext()
gets the alternative text associated with a shape. read/write .
specified by:
getalternativetext in interface ishape
returns:

setalternativetext

void setalternativetext(java.lang.string value)
sets the alternative text associated with a shape. read/write .
specified by:
setalternativetext in interface ishape

getname

java.lang.string getname()
gets the name of a shape. read/write .
specified by:
getname in interface ishape
returns:

setname

void setname(java.lang.string value)
sets the name of a shape. read/write .
specified by:
setname in interface ishape

getslide

activeslide getslide()
gets the parent slide of a shape. read-only .
specified by:
getslide in interface ishape
returns:

getpresentation

presentation getpresentation()
specified by:
getpresentation in interface ishape

appendtextframe

void appendtextframe(java.lang.string text)
                     throws documenteditexception
adds a new textframe to a shape. if shape already has textframe then simply changes its text.
parameters:
text - default text for a new textframe.
throws:
documenteditexception

removeplaceholder

void removeplaceholder()
removes placeholder from the shape.
specified by:
removeplaceholder in interface ishape

dispose

void dispose()
dispose object and free resources.
specified by:
dispose in interface ishape


网站地图