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 section format attribute. This enumeration is used with the Selection.IsCommonValueSelected method. It contains the following values:
Syntax
public enum SectionFormat.AttributePublic Enum SectionFormat.AttributeMembers
| Member | Value | Description |
|---|---|---|
| BreakKind | 1 | Specifies the attribute set through the BreakKind property. |
| ColumnDistances | 32 | Specifies the attribute set through the ColumnDistances property. |
| ColumnLineColor | 128 | Specifies the attribute set through the ColumnLineColor property. |
| ColumnLineWidth | 64 | Specifies the attribute set through the ColumnLineWidth property. |
| Columns | 8 | Specifies the attribute set through the Columns property. |
| ColumnWidths | 16 | Specifies the attribute set through the ColumnWidths property. |
| EqualColumnWidth | 256 | Specifies the attribute set through the EqualColumnWidth property. |
| Landscape | 4 | Specifies the attribute set through the Landscape property. |
| RestartPageNumbering | 512 | Specifies the attribute set through the RestartPageNumbering property. |
| All | 1023 | Not described in the reference. |
Examples
The following example selects the Break Kind value from the Attribute enumeration and uses it as a documented workflow choice.
SectionFormat.Attribute value = SectionFormat.Attribute.BreakKind;
Console.WriteLine($"Using Attribute: {value}");Dim value As SectionFormat.Attribute = SectionFormat.Attribute.BreakKind
Console.WriteLine($"Using Attribute: {value}")