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 page border attribute. This enumeration is used with the Selection.IsCommonValueSelected method. It contains the following values:
Syntax
public enum PageBorder.AttributePublic Enum PageBorder.AttributeMembers
| Member | Value | Description |
|---|---|---|
| BottomDistance | 2048 | Specifies the attribute set through the BottomDistance property. |
| BottomLineColor | 128 | Specifies the attribute set through the BottomLineColor property. |
| BottomLineWidth | 8 | Specifies the attribute set through the BottomLineWidth property. |
| FirstPageOnly | 8192 | Specifies the attribute set through the FirstPageOnly property. |
| LeftDistance | 256 | Specifies the attribute set through the LeftDistance property. |
| LeftLineColor | 16 | Specifies the attribute set through the LeftLineColor property. |
| LeftLineWidth | 1 | Specifies the attribute set through the LeftLineWidth property. |
| MeasureFromText | 4096 | Specifies the attribute set through the MeasureFromText property. |
| OmitFirstPage | 16384 | Specifies the attribute set through the OmitFirstPage property. |
| RightDistance | 1024 | Specifies the attribute set through the RightDistance property. |
| RightLineColor | 64 | Specifies the attribute set through the RightLineColor property. |
| RightLineWidth | 4 | Specifies the attribute set through the RightLineWidth property. |
| SurroundFooter | 65536 | Specifies the attribute set through the SurroundFooter property. |
| SurroundHeader | 32768 | Specifies the attribute set through the SurroundHeader property. |
| TopDistance | 512 | Specifies the attribute set through the TopDistance property. |
| TopLineColor | 32 | Specifies the attribute set through the TopLineColor property. |
| TopLineWidth | 2 | Specifies the attribute set through the TopLineWidth property. |
| All | 131071 | Not described in the reference. |
Examples
The following example selects the Left Line Width value from the Attribute enumeration and uses it as a documented workflow choice.
PageBorder.Attribute value = PageBorder.Attribute.LeftLineWidth;
Console.WriteLine($"Using Attribute: {value}");Dim value As PageBorder.Attribute = PageBorder.Attribute.LeftLineWidth
Console.WriteLine($"Using Attribute: {value}")