Class Font
Defines a particular format for text, including font face, size, and style attributes.
Inheritance
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class Font : IFont
Properties
Bold
Gets a value that indicates whether this Font is bold.
Declaration
public bool Bold { get; set; }
Property Value
System.Boolean
true if this Font is bold; otherwise, false. |
Italic
Gets a value that indicates whether this Font is italic.
Declaration
public bool Italic { get; set; }
Property Value
System.Boolean
true if this Font is italic; otherwise, false. |
Name
Gets or sets the face name of this Font.
Declaration
public string Name { get; set; }
Property Value
System.String
A string representation of the face name of this Font. |
Size
Strikeout
Gets a value that indicates whether this Font specifies a horizontal line through the font.
Declaration
public bool Strikeout { get; set; }
Property Value
System.Boolean
true if this Font has a horizontal line through it; otherwise, false. |
Style
Gets or sets style information for this Font.
Declaration
public FontStyle Style { get; set; }
Property Value
FontStyle
A System.Drawing.FontStyle enumeration that contains style information for this Font. |
Underline
Gets a value that indicates whether this Font is underlined.
Declaration
public bool Underline { get; set; }
Property Value
System.Boolean
true if this Font is underlined; otherwise, false. |
Methods
ToString()
This member overrides System.Object.ToString()
Declaration
public override string ToString()
Returns
System.String
A string value describing the Font. |