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.