Shape Constructor
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. Core. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
Description
Initializes a new instance of the Shape class.
Syntax
Shape()
Creates a new instance of the Shape class by the ShapeType type ShapeType.Custom.
public Shape();Public Sub New()Shape(ShapeType)
Initializes a new instance of the Shape class by a specific ShapeType type.
public Shape(ShapeType type);Public Sub New(type As ShapeType)| Parameter | Description |
|---|---|
| type | Specifies the shape's type. |
Shape(Shape)
public Shape(Shape shape);Public Sub New(shape As Shape)Examples
The following example creates a Shape instance and configures its angle setting for a document workflow.
TXTextControl.Drawing.Shape shape = new();
shape.Angle = 10;Dim shape As New TXTextControl.Drawing.Shape()
shape.Angle = 10