TClrFont Class

Defines a particular format for text, including font face, size, and style attributes.

Namespace: CNClrLib.Control.Graphics
TPersistent
  CNClrLib.Control.Graphics.TClrFont
type
 TClrFont = class(TPersistent)
 end;

The TClrFont type exposes the following members.

Show:
 NameDescription
Create(String,Single,TFontStyle_Set)

Overloaded. Initializes a new instance of the TClrFont class using a specified size and style.

Create(String,Single,TFontStyle_Set,TGraphicsUnit,Byte)

Overloaded. Initializes a new instance of the TClrFont class using a specified size, style, unit, and character set.

Create(TFont)

Overloaded. Initializes a new instance of the TClrFont class using a specified Delphi TFont value.

Create(_Font)

Overloaded. Initializes a new instance of the TClrFont class using the specified .Net font object.

Destroy

Frees the resources allocated with a TClrFont instance.

Top
Show:
 NameDescription
&Unit

Gets or sets the unit of measure for this Font.

Font

Gets or sets the .Net font object as interface.

GdiCharSet

Gets or sets a byte value that specifies the GDI character set that this Font uses.

GdiVerticalFont

Gets or sets a Boolean value that indicates whether this Font is derived from a GDI vertical font.

Name

Gets or sets the face name of this Font.

OnChange

Occurs when a property of the Font class changes.

Size

Gets or sets the em-size of this Font measured in the units specified by the Unit property.

Style

Gets or sets style information for this Font.

Top
Show:
 NameDescription
Assign(TPersistent)

Copies the contents of another, similar object.

Changed

Represents method Changed.

IsDefault

Specifies whether the Font class properties have not changed after it was created and initialized.

ToTFont

Converts this font class to it equivalent Delphi TFont.

Top