groupedshapecollection-j9官方网址
com.spire.doc.collections
class groupedshapecollection
java.lang.object
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.).
groupedshapecollection
public groupedshapecollection(document doc)
- initializes a new instance of the groupedshapecollection class.
- parameters:
doc - the document
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