Angle Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property Angle As IntegerExamples
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}");shape.Angle = 10
Console.WriteLine($"Angle used by Shape: {shape.Angle}")