Attribute Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Determines a certain attribute. This enumeration is used with the Selection.IsCommonValueSelected method.
Syntax
public enum PageSize.AttributePublic Enum PageSize.AttributeMembers
| Member | Value | Description |
|---|---|---|
| Height | 2 | Specifies the attribute set through the Height property. |
| Width | 1 | Specifies the attribute set through the Width property. |
| All | 3 | Not 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}");Dim value As PageSize.Attribute = PageSize.Attribute.Width
Console.WriteLine($"Using Attribute: {value}")