TX Text Control .NET for WPF

Attribute Enumeration

Enumeration
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDrawing.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDrawing.dll from the setup.

Description

Determines a certain shape class attribute. This enumeration is used with the IsCommonValueSelected method and contains the following values:

Syntax

public enum Selection.Attribute

Members

MemberValueDescription
Angle0Specifies the attribute set through the Shape.Angle property.
AutoSize1Specifies the attribute set through the Shape.AutoSize property.
CanFitToCanvas2Specifies the attribute set through the Shape.CanFitToCanvas property.
FillColor3Specifies the attribute set through the Shape.ShapeFill.Color property.
FlipHorizontal4Specifies the horizontal attribute set through the Shape.Flip property.
FlipVertical5Specifies the vertical attribute set through the Shape.Flip property.
Movable6Specifies the attribute set through the Shape.Movable property.
LineColor7Specifies the attribute set through the Shape.ShapeOutline.Color property.
LineWidth8Specifies the attribute set through the Shape.ShapeOutline.Width property.
LocationX9Specifies the x attribute set through the Shape.Location.X property.
LocationY10Specifies the y attribute set through the Shape.Location.Y property.
Sizable11Specifies the attribute set through the Shape.Sizable property.
SizeHeight12Specifies the height attribute set through the Shape.Size.Height property.
SizeWidth13Specifies 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}");