[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Drawing.Font

Font Class

Defines a particular format for text, including font face, size, and style attributes. It is a cross-platform version of Font.

Inheritance
Font
Implements
Namespace: GrapeCity.ActiveReports.Document.Drawing
Assembly: MESCIUS.ActiveReports.Core.Document.dll
Syntax
[TypeConverter(typeof(FontConverter))]
public sealed class Font : ICloneable

Constructors

Name Description
Font(Font, FontStyle)

Initializes an instance of class Font.

Font(string, float)

Initializes an instance of class Font.

Font(string, float, FontStyle)

Initializes an instance of class Font.

Font(string, float, FontStyle, GraphicsUnit)

Initializes an instance of class Font.

Font(string, float, FontStyle, GraphicsUnit, byte)

Initializes an instance of class Font.

Font(string, float, FontStyle, GraphicsUnit, byte, bool)

Initializes an instance of class Font.

Font(string, float, GraphicsUnit)

Initializes an instance of class Font.

Properties

Name Description
Bold

Gets information about whether the font is bold.

GdiCharSet

Gets GDI char set.

GdiVerticalFont

Gets information about whether the GDI font is vertical.

Italic

Gets information about whether the font is italic.

Name

Gets the name.

OriginalFontName

Gets the original font name.

Size

Gets the size.

SizeInPoints

Gets the size in inches.

Strikeout

Gets information about whether the font is strikethrough or not.

Style

Gets the font style.

Underline

Gets information about whether the font is underlined or not.

Unit

Gets the graphical unit of measure.

Methods

Name Description
Clone()

Performs a cloning of this instance.

Equals(object)

Performs a comparison of two Font objects by value.

GetHashCode()

Gets the hash code of the current instance of class Font.

ToString()

Returns a string that represents the current object.