Interface IFontProperties
Defines font styling properties for cell text including family, size, weight, style, color, and underline.
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public interface IFontProperties
Properties
FontFamily
Gets the typeface family applied to the text.
Declaration
FontFamily FontFamily { get; }
Property Value
|
System.Windows.Media.FontFamily
The font family. |
FontSize
Gets the font size in points.
Declaration
double FontSize { get; }
Property Value
|
System.Double
The size of the font. |
FontStyle
Gets the style variant of the font, such as normal or italic.
Declaration
FontStyle FontStyle { get; }
Property Value
|
System.Windows.FontStyle
The font style. |
FontWeight
Gets the numeric weight of the font, controlling thickness from light to heavy.
Declaration
FontWeight FontWeight { get; }
Property Value
|
System.Windows.FontWeight
The font weight. |
ForeColor
Gets the text color, supporting theme colors or explicit RGB values.
Declaration
ThemableColor ForeColor { get; }
Property Value
|
ThemableColor
The font color. |
IsBold
Gets whether the text uses bold weight rendering.
Declaration
bool IsBold { get; }
Property Value
|
System.Boolean
The value indicating whether the font is bold. |
IsItalic
Gets whether the text uses italic slant styling.
Declaration
bool IsItalic { get; }
Property Value
|
System.Boolean
The value indicating whether the font is italic. |
IsMonospaced
Gets whether the font uses fixed-width character spacing.
Declaration
bool IsMonospaced { get; }
Property Value
|
System.Boolean
The value indicating whether the text is monospaced. |
Underline
Gets the underline style applied to the text.
Declaration
UnderlineType Underline { get; }
Property Value
|
UnderlineType
The underline. |