groupedshapecollection-ag凯发旗舰厅



com.spire.doc.collections
class groupedshapecollection

java.lang.object
  extended by com.spire.doc.collections.groupedshapecollection

public class groupedshapecollection
extends java.lang.object

class is responsible for saving the collection of text for each shape object (textbox, rectangle, etc.).


constructor summary
groupedshapecollection(document doc)
          initializes a new instance of the groupedshapecollection class.
 
method summary
 void adddocobject(int shapeid, idocumentobject shapegroup)
          add shapeobject's to groupedshape collection.
 idocumentobject getdocobject(int shapeid)
          get shapeobject's text body by text identifier.
 
constructor detail

groupedshapecollection

public groupedshapecollection(document doc)
initializes a new instance of the groupedshapecollection class.
parameters:
doc - the document
method detail

adddocobject

public void adddocobject(int shapeid,
                         idocumentobject shapegroup)
add shapeobject's to groupedshape collection.
parameters:
shapeid - the shape id.
shapegroup - the text box.

getdocobject

public idocumentobject getdocobject(int shapeid)
get shapeobject's text body by text identifier.
parameters:
shapeid - the shape id.
returns:
the idocumentobject object


网站地图