ConditionalStyle
Overview
ConditionalStyle is a class in Aspose.Words FOSS for .NET.
Inherits from: IBorderAttrSource, IShadingAttrSource, IParaAttrSource, and 1 more.
Represents special formatting applied to some area of a table with assigned table style.
This class provides 3 methods for working with ConditionalStyle objects in .NET programs.
Available methods include: ClearFormatting, Equals, GetHashCode.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Borders, BottomPadding, Font, LeftPadding, ParagraphFormat, RightPadding, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ParagraphFormat | ParagraphFormat | Read | Gets the paragraph formatting of the conditional style. |
Font | Font | Read | Gets the character formatting of the conditional style. |
Shading | Shading | Read | Gets a Shading object that refers to the shading formatting for this conditional style. |
Borders | BorderCollection | Read | Gets the collection of default cell borders for the conditional style. |
LeftPadding | double | Read/Write | Gets or sets the amount of space (in points) to add to the left of the contents of table cells. |
RightPadding | double | Read/Write | Gets or sets the amount of space (in points) to add to the right of the contents of table cells. |
TopPadding | double | Read/Write | Gets or sets the amount of space (in points) to add above the contents of table cells. |
BottomPadding | double | Read/Write | Gets or sets the amount of space (in points) to add below the contents of table cells. |
Type | ConditionalStyleType | Read | Gets table area to which this conditional style relates. |
Methods
| Signature | Description |
|---|---|
ClearFormatting() | Clears formatting of this conditional style. |
Equals(obj: object) | Compares this conditional style with the specified object. |
GetHashCode() | Calculates hash code for this object. |