|
<< Click to display table of contents >> TCustomRVFontInfo.Create |
A constructor, creates and initializes a new instance of TCustomRVFontInfo.
constructor Create(Collection: TCollection);
The constructor initializes:
// Properties inherited from TCustomRVInfo:
Standard := True;
StyleName := 'Font Style';
// Properties defined in TCustomRVFontInfo:
Size := 10;
FontName := 'Arial';
Color := rvclWindowText;
UnderlineColor := rvclNone;
BackColor := rvclNone;
HoverColor := rvclNone;
HoverUnderlineColor := rvclNone;
Charset := DEFAULT_CHARSET;
JumpCursor := crJump;
CharScale := 100;
ParaStyleTemplateId := -1;
Other properties are initialized with zeros/False/empty values.
Note: usually, when you create a text style in code, you should assign Standard := False.