TFontInfo.Create

<< Click to display table of contents >>

TFontInfo.Create

A constructor, creates and initializes a new instance of TFontInfo.

constructor Create(Collection: TCollection);override;

In addition to initializations performed by the inherited constructor, this methods initializes:

NextStyleNo    := -1;

Other properties introduced in TFontInfo are initialized with zeros/False/empty values.

Note: usually, when you create a text style in code, you should assign Standard := False.