TX Text Control .NET for Windows Forms

Angle 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 angle of the shape inside the TX Drawing Control. The default value is 0.

Syntax

public int Angle { get; set; }

Examples

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

shape.Angle = 10;
Console.WriteLine($"Angle used by Shape: {shape.Angle}");