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.shapes.ShapeBase
com.spire.doc.fields.ShapeGroup
- All Implemented Interfaces:
- ICompositeObject, IDocumentObject, IDocumentSerializable, IParagraphBase
public class ShapeGroup
- extends ShapeBase
- implements ICompositeObject
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.shapes.ShapeBase |
adjustWithEffects, getAllowOverlap, getAlternativeText, getAspectRatioLocked, getBehindText, getBottom, getChildObjects, getCoordOrigin, getCoordSize, getDistanceBottom, getDistanceLeft, getDistanceRight, getDistanceTop, getFill, getHeight, getHorizontalAlignment, getHorizontalOrigin, getHorizontalPosition, getRight, getRotation, getShapeType, getSize, getTextWrappingStyle, getTextWrappingType, getVerticalAlignment, getVerticalOrigin, getVerticalPosition, getWidth, getWrapType, getZOrder, hasImage, isHidden, isHidden, isSignatureLine, localToParent, setAllowOverlap, setAlternativeText, setAspectRatioLocked, setBehindText, setCoordOrigin, setCoordSize, setDistanceBottom, setDistanceLeft, setDistanceRight, setDistanceTop, setHeight, setHorizontalAlignment, setHorizontalOrigin, setHorizontalPosition, setRotation, setShapeType, setTextWrappingStyle, setTextWrappingType, setVerticalAlignment, setVerticalOrigin, setVerticalPosition, setWidth, setWrapType, setZOrder |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
applyCharacterFormat, applyStyle, getCharacterFormat, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
ShapeGroup
public ShapeGroup(Document doc)
- Creates a new group shape.
- Parameters:
doc
- The owner document.
By default, the shape is floating and has default location and size.
You should specify desired shape properties after you created a shape.
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Description copied from class:
DocumentObject
- Gets the type of the document object.
- Specified by:
getDocumentObjectType
in interface IDocumentObject
- Specified by:
getDocumentObjectType
in class DocumentObject
- Returns:
- The type of the document object.