IFontProperties
Defines font styling properties for cell text including family, size, weight, style, color, and underline.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public interface IFontProperties
Derived Classes:
Properties
Gets the typeface family applied to the text.
FontFamily FontFamily { get; }
The font family.
Gets the font size in points.
double FontSize { get; }
The size of the font.
Gets the style variant of the font, such as normal or italic.
FontStyle FontStyle { get; }
The font style.
Gets the numeric weight of the font, controlling thickness from light to heavy.
FontWeight FontWeight { get; }
The font weight.
Gets the text color, supporting theme colors or explicit RGB values.
ThemableColor ForeColor { get; }
The font color.
Gets whether the text uses bold weight rendering.
bool IsBold { get; }
The value indicating whether the font is bold.
Gets whether the text uses italic slant styling.
bool IsItalic { get; }
The value indicating whether the font is italic.
Gets whether the font uses fixed-width character spacing.
bool IsMonospaced { get; }
The value indicating whether the text is monospaced.
Gets whether the text has strikethrough decoration applied.
bool IsStrikethrough { get; }
The value indicating whether the font is strikethrough.
Gets the underline style applied to the text.
UnderlineType Underline { get; }
The underline.
Gets the vertical text alignment (none, superscript, or subscript) applied to the text.
VerticalTextAlignment VerticalTextAlignment { get; }
The vertical text alignment.