Vcl.Themes.TStyleHook.DrawControlText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawControlText(Canvas: TCanvas; Details: TThemedElementDetails;  const S: string; var R: TRect; Flags: Cardinal);

C++

void __fastcall DrawControlText(Vcl::Graphics::TCanvas* Canvas, const TThemedElementDetails &Details, const System::UnicodeString S, System::Types::TRect &R, unsigned Flags);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TStyleHook

Description

Draws the text of the control.

Parameter Meaning
Canvas The canvas on which the drawing is performed.
Details The user interface element for which the drawing is performed.
S The text to draw.
R The rectangle that defines the area where to draw the text.
Flags The formatting of the text.

See Also