shapeobjecttextcollection-ag凯发旗舰厅
com.spire.doc.collections
class shapeobjecttextcollection
java.lang.object
com.spire.doc.collections.shapeobjecttextcollection
public class shapeobjecttextcollection
- extends java.lang.object
class is responsible for saving the collection of text
for each shape object (textbox, rectangle, etc.).
method summary |
void |
addtextbox(int shapeid,
textbox textbox)
add shapeobject's text to text collection. |
textbox |
gettextbox(int shapeid)
get shapeobject's text body by text identifier. |
shapeobjecttextcollection
public shapeobjecttextcollection()
- initializes a new instance of the shapeobjecttextcollection class.
addtextbox
public void addtextbox(int shapeid,
textbox textbox)
- add shapeobject's text to text collection.
- parameters:
shapeid
- the shape id.textbox
- the text box.
gettextbox
public textbox gettextbox(int shapeid)
- get shapeobject's text body by text identifier.
- parameters:
shapeid
- the shape id.
- returns:
- textbox