TablePartTextStyle Class
Represents a set of text-related table style conditional formatting properties.
- Inheritance:
- System.ObjectTablePartTextStyle
Remarks
Table style conditional formats are applied to different regions of the table and allow you to define all formatting properties (formatting for a table, rows, cells, paragraphs and runs).
Properties
Bold
Gets or sets a value indicating whether a run of text is formatted as bold text.
Default value is false.
Property Value
- System.Boolean
true if a run of text is formatted as bold text; otherwise, false.
Color
Gets or sets the color.
Property Value
The color.
Font
Gets or sets the font to be used on characters within a given TextElement.
Property Value
- System.String
The font to be used on characters within a given TextElement.
Exceptions
- System.ArgumentException
Value is null or System.String.Empty.
Italic
Gets or sets a value indicating whether a run of text is formatted as italic text.
Default value is false.
Property Value
- System.Boolean
true if a run of text is formatted as italic text; otherwise, false.