Shape Class |
Docentric Toolkit Help
Send Feedback |
Represents a shape that can draw a geometry and can also act as a text box.
System.Object
Docentric.Documents.ObjectModel.DocumentObject
Docentric.Documents.ObjectModel.Element
Docentric.Documents.ObjectModel.Shapes.ShapeBase
Docentric.Documents.ObjectModel.Shapes.Shape
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public class Shape : ShapeBase
The Shape type exposes the following members.
Name | Description | |
---|---|---|
.ctor() | Creates a new Shape. | |
.ctor(GeometryType) | Creates a new Shape with a preset geometry. |
Name | Description | |
---|---|---|
Content | Gets the content (story) of the text box. If a shape contains a content, then such a shape acts as a text box. | |
DistanceFromText | Gets or sets the distances between the edges of a floating shape and any surrounding text. (Inherited from ShapeBase) | |
Effects | Defines the effects for this ShapeBase. (Inherited from ShapeBase) | |
Fill | Gets or sets the Brush that is used to fill the interior of this shape. (Inherited from ShapeBase) | |
FlipOrientation | Gets or sets the flip orientation for the shape. (Inherited from ShapeBase) | |
Formulas | Gets or sets the formulas used for this geometry shape. | |
GeometryType | Gets or sets a preset geometry for this shape. | |
Height | Gets or sets the height of the shape. (Inherited from ShapeBase) | |
HorizontalPosition | Gets or sets the horizontal position. (Inherited from ShapeBase) | |
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. (Inherited from ShapeBase) | |
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. (Inherited from ShapeBase) | |
Outline | Gets or sets the outline (or border) for this shape. (Inherited from ShapeBase) | |
OwnerDocument | Gets the owner document. (Inherited from DocumentObject) | |
Paths | Gets or sets the PathCollection for this geometry shape. | |
Range | (Inherited from Element) | |
ResizeToFitContent | Gets or sets the value indicating whether the text box shall resize vertically when its content exceeds the text box's height. | |
Rotation | Defines the angle (in degrees) that the shape is rotated. Positive value corresponds to clockwise rotation angle. (Inherited from ShapeBase) | |
TextWrappingSides | Gets or sets the setting for how text can wrap around the floating element's left and right sides. (Inherited from ShapeBase) | |
TextWrappingStyle | Gets or sets the setting for how text is wrapped around the floating element. (Inherited from ShapeBase) | |
VerticalPosition | Gets or sets the vertical position. (Inherited from ShapeBase) | |
Width | Gets or sets the width of the shape. (Inherited from ShapeBase) | |
WrapPolygon | Determine the extents to which the surrounding content can wrap around a ShapeBase. (Inherited from ShapeBase) | |
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. (Inherited from ShapeBase) |
Name | Description | |
---|---|---|
Clone | Clones this Element object including its DOM children. (Inherited from Element) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
GetSection | Returns the section this element belongs to. (Inherited from Element) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ToString | Returns a String that represents the current Object. (Inherited from Object) |