rvico TRichView Reference | TRVStyle | TFontInfo

TFontInfo.Create

Top  Previous  Next

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;

In Delphi/C++Builder 2009 or newer, Unicode is initialized with True.

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.


TRichView © trichview.com