shapegroup-ag凯发旗舰厅



com.spire.doc.fields
class shapegroup

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.fields.paragraphbase
                      extended by com.spire.doc.fields.shape.shapebase
                          extended by com.spire.doc.fields.shapeobject
                              extended by 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.


constructor summary
shapegroup(document doc)
          creates a new group shape.
 
method summary
 documentobjecttype getdocumentobjecttype()
          gets the type of the document object.
 
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
 
methods inherited from class com.spire.doc.fields.paragraphbase
applycharacterformat, applystyle, getancestor, getownerparagraph, getstylename, isdeleterevision, isinsertrevision
 
methods inherited from class com.spire.doc.documentobject
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

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.
method detail

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.


网站地图