Draws the text label in the input rectangle.
Namespace: RSVclGraphics
Delphi |
procedure DrawTextLabel(const Canvas: TCanvas; const Caption: string; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
Caption
Type: string
Text to draw
DrawFormat
Type: Cardinal
Windows specific caption options (e.g., DT_SINGLELINE ,DT_VCENTER, DT_BOTTOM, DT_WORDBREAK, DT_SINGLELINE, etc)
ARect
Type: TRect
Rectangular area to draw text in
Reference |