Base class for objects in the drawing layer, such as an AutoShape, freeform, OLE object, ActiveX control, or picture.
For a list of all members of this type, see ShapeBase Members.
System.Object
Aspose.Words.Node
Aspose.Words.CompositeNode
Aspose.Words.Drawing.ShapeBase
Aspose.Words.Drawing.GroupShape
Aspose.Words.Drawing.Shape
[Visual Basic]MustInherit Public Class ShapeBase
Remarks
This is an abstract class. The two derived classes that you can instantiate are Shape and GroupShape.
A shape is a node in the document tree.
If the shape is a child of a Paragraph object, then the shape is said to be "top-level". Top-level shapes are measured and positioned in points.
A shape can also occur as a child of a GroupShape object when several shapes are grouped. Child shapes of a group shape are positioned in the coordinate space and units defined by the CoordSize and CoordOrigin properties of the parent group shape.
A shape can be positioned inline with text or floating. The positioning method is controlled using the WrapType property.
When a shape is floating, it is positioned relative to something (e.g the current paragraph, the margin or the page). The relative positioning of the shape is specified using the RelativeHorizontalPosition and RelativeVerticalPosition properties.
A floating shape be positioned explicitly using the Left and Top properties or aligned relative to some other object using the HorizontalAlignment and VerticalAlignment properties.
Requirements
Namespace: Aspose.Words.Drawing
Assembly: Aspose.Words (in Aspose.Words.dll)
See Also
ShapeBase Members | Aspose.Words.Drawing Namespace | Shape | GroupShape