shapeobjecttextcollection-ag凯发旗舰厅



com.spire.doc.collections
class shapeobjecttextcollection

java.lang.object
  extended by 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.).


constructor summary
shapeobjecttextcollection()
          initializes a new instance of the shapeobjecttextcollection class.
 
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.
 
constructor detail

shapeobjecttextcollection

public shapeobjecttextcollection()
initializes a new instance of the shapeobjecttextcollection class.
method detail

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


网站地图