TX Text Control .NET for Windows Forms

Type Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the shape's type. The default value is Drawing.ShapeType.Custom.

Syntax

public ShapeType Type { get; set; }

Examples

The following example uses Shape.Type to configure type as part of the shape workflow. The configured value is checked before the workflow continues.

shape.Type = TXTextControl.Drawing.ShapeType.Line;
Console.WriteLine($"Type used by Shape: {shape.Type}");