Attribute Enumeration
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDrawing.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDrawing.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
Description
Determines a certain shape class attribute. This enumeration is used with the IsCommonValueSelected method and contains the following values:
Syntax
public enum Selection.AttributePublic Enum Selection.AttributeMembers
| Member | Value | Description |
|---|---|---|
| Angle | 0 | Specifies the attribute set through the Shape.Angle property. |
| AutoSize | 1 | Specifies the attribute set through the Shape.AutoSize property. |
| CanFitToCanvas | 2 | Specifies the attribute set through the Shape.CanFitToCanvas property. |
| FillColor | 3 | Specifies the attribute set through the Shape.ShapeFill.Color property. |
| FlipHorizontal | 4 | Specifies the horizontal attribute set through the Shape.Flip property. |
| FlipVertical | 5 | Specifies the vertical attribute set through the Shape.Flip property. |
| Movable | 6 | Specifies the attribute set through the Shape.Movable property. |
| LineColor | 7 | Specifies the attribute set through the Shape.ShapeOutline.Color property. |
| LineWidth | 8 | Specifies the attribute set through the Shape.ShapeOutline.Width property. |
| LocationX | 9 | Specifies the x attribute set through the Shape.Location.X property. |
| LocationY | 10 | Specifies the y attribute set through the Shape.Location.Y property. |
| Sizable | 11 | Specifies the attribute set through the Shape.Sizable property. |
| SizeHeight | 12 | Specifies the height attribute set through the Shape.Size.Height property. |
| SizeWidth | 13 | Specifies the width attribute set through the Shape.Size.Width property. |
Examples
The following example selects the Angle value from the Attribute enumeration and uses it as a documented workflow choice.
TXTextControl.Drawing.Selection.Attribute value = TXTextControl.Drawing.Selection.Attribute.Angle;
Console.WriteLine($"Using Attribute: {value}");Dim value As TXTextControl.Drawing.Selection.Attribute = TXTextControl.Drawing.Selection.Attribute.Angle
Console.WriteLine($"Using Attribute: {value}")