Attribute Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.dll
Description
Determines a certain attribute. This enumeration is used with the Selection.IsCommonValueSelected method.
Syntax
public enum PageMargins.AttributePublic Enum PageMargins.AttributeMembers
| Member | Value | Description |
|---|---|---|
| Bottom | 8 | Specifies the attribute set through the Bottom property. |
| Left | 1 | Specifies the attribute set through the Left property. |
| Right | 4 | Specifies the attribute set through the Right property. |
| Top | 2 | Specifies the attribute set through the Top property. |
| All | 15 | Not described in the reference. |
Examples
The following example selects the Left value from the Attribute enumeration and uses it as a documented workflow choice.
PageMargins.Attribute value = PageMargins.Attribute.Left;
Console.WriteLine($"Using Attribute: {value}");Dim value As PageMargins.Attribute = PageMargins.Attribute.Left
Console.WriteLine($"Using Attribute: {value}")