Vcl.RibbonActnCtrls.TRibbonRichContentMainMenuItem.DrawText
Delphi
procedure DrawText(var ARect: TRect; var Flags: Cardinal; Text: string); override;
C++
virtual void __fastcall DrawText(System::Types::TRect &ARect, unsigned &Flags, System::UnicodeString Text);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonRichContentMainMenuItem |
Description
Draws the text on the control.
The DrawText method draws the text received in the text parameter on the control, within the area specified by ARect. The method recalculates ARect considering the image size.