TX Text Control .NET Server

Attribute Enumeration

Enumeration|Introduced in 14.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.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.Attribute

Members

MemberValueDescription
BreakKind1Specifies the attribute set through the BreakKind property.
ColumnDistances32Specifies the attribute set through the ColumnDistances property.
ColumnLineColor128Specifies the attribute set through the ColumnLineColor property.
ColumnLineWidth64Specifies the attribute set through the ColumnLineWidth property.
Columns8Specifies the attribute set through the Columns property.
ColumnWidths16Specifies the attribute set through the ColumnWidths property.
EqualColumnWidth256Specifies the attribute set through the EqualColumnWidth property.
Landscape4Specifies the attribute set through the Landscape property.
RestartPageNumbering512Specifies the attribute set through the RestartPageNumbering property.
All1023Not 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}");