The Drawing.
public class Shape : System.ComponentModel.INotifyPropertyChanged
Public Class Shape
Implements System.ComponentModel.INotifyPropertyChanged
Introduced: X13.
The following example shows a Drawing.
TXTextControl.Drawing.Shape newShape = new TXTextControl.Drawing.Shape();
newShape.AutoSize = true;
newShape.Sizable = false;
newShape.Movable = false;
Dim newShape As TXTextControl.Drawing.Shape = New TXTextControl.Drawing.Shape()
newShape.AutoSize = True
newShape.Sizable = False
newShape.Movable = False
Constructor | Description |
---|---|
Shape | Initializes a new instance of the Shape class. |
Method | Description |
---|---|
Fit |
Expands the shape to the control's canvas size. |
Property | Description |
---|---|
Angle | Gets or sets the angle of the shape inside the TX Drawing Control. |
Auto |
Gets or sets a value indicating whether the shape is automatically resized with the TX Drawing Control. |
Bounds | Gets or sets the bounding rectangle of the shape. |
Can |
Gets a value which indicates whether the Fit |
Flip | Gets or sets whether and in what form the shape is flipped. |
Index | Represents the index of the shape inside control's shape collection. |
Is |
Gets a value which indicates whether the shape is selected or not. |
Location | Gets or sets shape's current location. |
Movable | Gets or sets a value which indicates whether the shape is movable or not. |
Shape |
Gets the shape's fill properties. |
Shape |
Gets the shape's outline properties. |
Sizable | Gets or sets a value which indicates whether the shape is sizable or not. |
Size | Gets or sets the shape's current size. |
Type | Gets or sets the shape's type. |