TextFont property (Main Control)
Builder Syntax |
Graphics::TFont* TextFont |
Delphi Syntax |
TextFont: TFont |
Overview |
Remarks
(Persistent property, available at design time) Specifies the Font object for any text that you draw using the DrawTextStr method.
You can set the Font object's properties at design time in the Object Inspector. At run time, you set these properties as in the following example:
Lead1.TextFont.Name := 'Arial'
For a list of Font object properties, refer to Delphi of C++ Builder documentation.
See Also
Topics: |
|
|