TX Text Control .NET for WPF

Attribute Enumeration

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

Description

Determines a certain attribute. This enumeration is used with the Selection.IsCommonValueSelected method.

Syntax

public enum PageSize.Attribute

Members

MemberValueDescription
Height2Specifies the attribute set through the Height property.
Width1Specifies the attribute set through the Width property.
All3Not described in the reference.

Examples

The following example selects the Width value from the Attribute enumeration and uses it as a documented workflow choice.

PageSize.Attribute value = PageSize.Attribute.Width;
Console.WriteLine($"Using Attribute: {value}");