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.shapes.ShapeBase
                          extended by 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.


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.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
 
Methods inherited from class com.spire.doc.DocumentObject
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 
Methods inherited from interface com.spire.doc.interfaces.ICompositeObject
getChildObjects
 
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite
 

Constructor Detail

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.

Method Detail

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.