ConditionalStyle

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

NameTypeAccessDescription
ParagraphFormatParagraphFormatReadGets the paragraph formatting of the conditional style.
FontFontReadGets the character formatting of the conditional style.
ShadingShadingReadGets a Shading object that refers to the shading formatting for this conditional style.
BordersBorderCollectionReadGets the collection of default cell borders for the conditional style.
LeftPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add to the left of the contents of table cells.
RightPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add to the right of the contents of table cells.
TopPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add above the contents of table cells.
BottomPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add below the contents of table cells.
TypeConditionalStyleTypeReadGets table area to which this conditional style relates.

Methods

SignatureDescription
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.

See Also