Represents the base class for all different shape types.

Namespace: Docentric.Documents.ObjectModel.Shapes
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public abstract class ShapeBase : Element

The ShapeBase type exposes the following members.

Name Description
Public constructor .ctor()
Name Description
Public member DistanceFromText Gets or sets the distances between the edges of a floating shape and any surrounding text.
Public member Effects Defines the effects for this ShapeBase.
Public member Fill Gets or sets the Brush that is used to fill the interior of this shape.
Public member FlipOrientation Gets or sets the flip orientation for the shape.
Public member Height Gets or sets the height of the shape.
Public member HorizontalPosition Gets or sets the horizontal position.
Public member OffsetX Gets or sets the horizontal offset from top-left corner of the containing ShapeGroup or DrawingCanvas. When a shape is part of a drawing canvas or a group then HorizontalPosition is ignored and OffsetX determines the horizontally position the shape inside the drawing canvas or group.
Public member OffsetY Gets or sets the vertical offset from top-left corner of the containing ShapeGroup or DrawingCanvas. When a shape is part of a drawing canvas or a group then VerticalPosition is ignored and OffsetY determines the vertically position the shape inside the drawing canvas or group.
Public member Outline Gets or sets the outline (or border) for this shape.
Public member OwnerDocument Gets the owner document. (Inherited from DocumentObject)
Public member Range (Inherited from Element)
Public member Rotation Defines the angle (in degrees) that the shape is rotated. Positive value corresponds to clockwise rotation angle.
Public member TextWrappingSides Gets or sets the setting for how text can wrap around the floating element's left and right sides.
Public member TextWrappingStyle Gets or sets the setting for how text is wrapped around the floating element.
Public member VerticalPosition Gets or sets the vertical position.
Public member Width Gets or sets the width of the shape.
Public member WrapPolygon Determine the extents to which the surrounding content can wrap around a ShapeBase.
Public member ZIndex Gets or sets the relative Z-ordering of the floating object. Each floating object shall have a Z-ordering value, which determines which object is displayed when any two objects intersect. Higher values shall indicate higher Z-order; lower values shall indicate lower Z-order.
Name Description
Public method Clone Clones this Element object including its DOM children. (Inherited from Element)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetSection Returns the section this element belongs to. (Inherited from Element)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString Returns a String that represents the current Object. (Inherited from Object)