Attribute Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines a certain attribute. This enumeration is used with the IsCommonValueSelected method.
Syntax
public enum Selection.AttributePublic Enum Selection.AttributeMembers
| Member | Value | Description |
|---|---|---|
| AutoBaseline | 32768 | Specifies the attribute set through the AutoBaseline property. |
| Baseline | 1 | Specifies the attribute set through the Baseline property. |
| Bold | 2 | Specifies the attribute set through the Bold property. |
| Capitals | 65536 | Specifies the attribute set through the Capitals property. |
| CharacterScaling | 131072 | Specifies the attribute set through the CharacterScaling property. |
| CharacterSpacing | 262144 | Specifies the attribute set through the CharacterSpacing property. |
| FontName | 8 | Specifies the attribute set through the FontName property. |
| FontSize | 16 | Specifies the attribute set through the FontSize property. |
| ForeColor | 256 | Specifies the attribute set through the ForeColor property. |
| FormattingStyle | 8192 | Specifies the attribute set through the FormattingStyle property. |
| Italic | 4 | Specifies the attribute set through the Italic property. |
| Strikeout | 32 | Specifies the attribute set through the Strikeout property. |
| TextBackColor | 512 | Specifies the attribute set through the TextBackColor property. |
| Underline | 64 | Specifies the attribute set through the Underline property. |
| Start | 1024 | Not described in the reference. |
| Length | 2048 | Not described in the reference. |
| Text | 4096 | Not described in the reference. |
| Culture | 16384 | Not described in the reference. |
| All | 524287 | Not described in the reference. |
Examples
The following example selects the Baseline value from the Attribute enumeration and uses it as a documented workflow choice.
Selection.Attribute value = Selection.Attribute.Baseline;
Console.WriteLine($"Using Attribute: {value}");Dim value As Selection.Attribute = Selection.Attribute.Baseline
Console.WriteLine($"Using Attribute: {value}")