ishape-ag凯发旗舰厅



com.spire.presentation
interface ishape

all known subinterfaces:
iaudio, iautoshape, ichart, iembedimage, itable, ivideo
all known implementing classes:
groupshape, shape, shapenode, slidepicture

public interface ishape

method summary
 void dispose()
          dispose object and free resources.
 java.lang.string getalternativetext()
          gets the alternative text associated with a shape.
 java.lang.string getalternativetitle()
          gets the alternative title 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 the shape frame's properties.
 float getheight()
          gets the height of the shape.
 long getid()
           
 shape getlayoutprototype()
          get the shape's prototype in layout
 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.
 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 around the z-axis.
 activeslide getslide()
          gets the parent slide of a shape.
 tagcollection gettagslist()
          gets the shape's tags collection.
 formatthreed getthreed()
          gets the threedformat object that 3d effect properties for a shape.
 float gettop()
          gets the y-coordinate of the upper-left corner of the shape.
 float getwidth()
          gets the width of the shape.
 int getzorderposition()
          gets the position of a shape in the z-order.
 void insertchart(charttype type)
          insert a chart into placeholder shape.
 void insertpicture(java.lang.string filepath)
          insert a picture into placeholder shape.
 void insertsmartart(smartartlayouttype smartartlayouttype)
          insert a smartart into placeholder shape.
 void inserttable(int tablecolumncount, int tablerowcount)
          insert a table into placeholder shape.
 void insertvideo(java.lang.string filepath)
          insert a video into placeholder shape.
 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 setalternativetitle(java.lang.string value)
          sets the alternative title 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 around the z-axis.
 void setshapealignment(shapealignmentenum.shapealignment shapealignment)
          sets the alignment with a shape.
 void setshapearrange(shapealignmentenum.shapearrange shapearrange)
          sets the arrangement with a shape.
 void settop(double value)
          sets the y-coordinate of the upper-left corner of the shape.
 void setwidth(float value)
          sets the width of the shape.
 void setzorderposition(int zorderposition)
          sets the position of a shape in the z-order.
 
method detail

isplaceholder

boolean isplaceholder()
indicates whether the shape is placeholder. read-only .
returns:

istextbox

boolean istextbox()
indicates whether the shape is textbox. read-only .
returns:

getplaceholder

placeholderex getplaceholder()
gets the placeholder for a shape. read-only .
returns:

gettagslist

tagcollection gettagslist()
gets the shape's tags collection. read-only .
returns:

getframe

graphicframe getframe()
gets the shape frame's properties. read/write .
returns:
throws:
java.lang.exception

setframe

void setframe(graphicframe value)
sets the shape frame's properties. read/write .

getline

textlineformat getline()
gets the lineformat object that contains line formatting properties for a shape. read-only .
returns:
can return null for certain types of shapes which don't have line properties.

getthreed

formatthreed getthreed()
gets the threedformat object that 3d effect properties for a shape. read-only .
returns:
can return null for certain types of shapes which don't have 3d properties.

geteffectdag

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

getfill

fillformat getfill()
gets the fillformat object that contains fill formatting properties for a shape. read-only .
returns:
can return null for certain types of shapes which don't have fill properties.

getclick

clickhyperlink getclick()
gets the hyperlink defined for mouse click. read/write .
returns:

setclick

void setclick(clickhyperlink value)
sets the hyperlink defined for mouse click. read/write .

getmouseover

clickhyperlink getmouseover()
gets the hyperlink defined for mouse over. read/write .
returns:

setmouseover

void setmouseover(clickhyperlink value)
sets the hyperlink defined for mouse over. read/write .

ishidden

boolean ishidden()
indicates whether the shape is hidden. read/write .
returns:

ishidden

void ishidden(boolean value)

getparent

activeslide getparent()
gets the parent slide of a shape. read-only .
returns:

getzorderposition

int getzorderposition()
gets the position of a shape in the z-order. read-only .
returns:
shapes[0] returns the shape at the back of the z-order, and shapes[shapes.count - 1] returns the shape at the front of the z-order.

setzorderposition

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

getrotation

float getrotation()
gets the number of degrees the specified shape is rotated around the z-axis. a positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. read/write .
returns:
throws:
java.lang.exception

setrotation

void setrotation(float value)
sets the number of degrees the specified shape is rotated around the z-axis. a positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. read/write .

getleft

float getleft()
gets the x-coordinate of the upper-left corner of the shape. read/write .
returns:
throws:
java.lang.exception

setleft

void setleft(double value)
sets the x-coordinate of the upper-left corner of the shape. read/write .

gettop

float gettop()
gets the y-coordinate of the upper-left corner of the shape. read/write .
returns:
throws:
java.lang.exception

settop

void settop(double value)
sets the y-coordinate of the upper-left corner of the shape. read/write .

getwidth

float getwidth()
gets the width of the shape. read/write .
returns:
throws:
java.lang.exception

setwidth

void setwidth(float value)
sets the width of the shape. read/write .

getheight

float getheight()
gets the height of the shape. read/write .
returns:
throws:
java.lang.exception

setheight

void setheight(float value)
sets the height of the shape. read/write .

getalternativetext

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

setalternativetext

void setalternativetext(java.lang.string value)
sets the alternative text associated with a shape. read/write .

getalternativetitle

java.lang.string getalternativetitle()
gets the alternative title associated with a shape. read/write
returns:

setalternativetitle

void setalternativetitle(java.lang.string value)
sets the alternative title associated with a shape. read/write

getname

java.lang.string getname()
gets the name of a shape. read/write .
returns:

setname

void setname(java.lang.string value)
sets the name of a shape. read/write .

getslide

activeslide getslide()
gets the parent slide of a shape. read-only .
returns:

getpresentation

presentation getpresentation()

removeplaceholder

void removeplaceholder()
removes placeholder from the shape.

dispose

void dispose()
dispose object and free resources.

setshapealignment

void setshapealignment(shapealignmentenum.shapealignment shapealignment)
sets the alignment with a shape.

setshapearrange

void setshapearrange(shapealignmentenum.shapearrange shapearrange)
sets the arrangement with a shape.

insertvideo

void insertvideo(java.lang.string filepath)
insert a video into placeholder shape.
parameters:
filepath - video file path

insertsmartart

void insertsmartart(smartartlayouttype smartartlayouttype)
insert a smartart into placeholder shape.
parameters:
smartartlayouttype - smartart type

insertchart

void insertchart(charttype type)
insert a chart into placeholder shape.
parameters:
type - chart type

inserttable

void inserttable(int tablecolumncount,
                 int tablerowcount)
insert a table into placeholder shape.
parameters:
tablecolumncount - tablecolumn count
tablerowcount - tablerow count

insertpicture

void insertpicture(java.lang.string filepath)
insert a picture into placeholder shape.
parameters:
filepath - picture file path

getid

long getid()

getlayoutprototype

shape getlayoutprototype()
get the shape's prototype in layout
returns:


网站地图