shapegroup-ag凯发旗舰厅
com.spire.doc.fields
class shapegroup
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.fields.paragraphbase
com.spire.doc.fields.shape.shapebase
com.spire.doc.fields.shapeobject
com.spire.doc.fields.shapegroup
- all implemented interfaces:
- irunattrsource, icompositeobject, idocumentobject, iparagraphbase
public class shapegroup
- extends shapeobject
represents a group of shapes in a document.
a is a composite node and can have and
nodes as children.
each defines a new coordinate system for its child shapes.
the coordinate system is defined using the and
properties.
methods inherited from class com.spire.doc.fields.shapeobject |
getcharacterformat, getchildobjects, getfillcolor, getlinestyle, getstrokecolor, getstrokeweight, getwordart, hasimage, setfillcolor, setlinestyle, setstrokecolor, setstrokeweight |
methods inherited from class com.spire.doc.fields.shape.shapebase |
getallowoverlap, getbehindtext, getbottom, getdistancebottom, getdistanceleft, getdistanceright, getdistancetop, getheight, gethorizontalalignment, gethorizontalorigin, gethorizontalposition, getparentparagraph, getright, getrotation, getshapetype, gettextwrappingstyle, gettextwrappingtype, getverticalalignment, getverticalorigin, getverticalposition, getwidth, getzorder, haskey, isimage, localtoparent, removeshapeattribute, setallowoverlap, setbehindtext, setdistancebottom, setdistanceleft, setdistanceright, setdistancetop, setheight, sethorizontalalignment, sethorizontalorigin, sethorizontalposition, setrotation, setshapeattr, setshapeattribute, setshapetype, settextwrappingstyle, settextwrappingtype, setverticalalignment, setverticalorigin, setverticalposition, setwidth, setzorder |
shapegroup
public shapegroup(document doc)
- creates a new group shape.
by default, the shape is floating and has default location and size.
you should specify desired shape properties after you created a shape.
- parameters:
doc
- the owner document.
getdocumentobjecttype
public documentobjecttype getdocumentobjecttype()
- description copied from class:
shapeobject
- gets the type of the document object.
- specified by:
getdocumentobjecttype
in interface idocumentobject
- overrides:
getdocumentobjecttype
in class shapeobject
- returns:
- the type of the document object.