Vcl.RibbonActnCtrls.TRibbonRichContentMainMenuItem.GetImageSize
Delphi
function GetImageSize: TPoint; override;
C++
virtual System::Types::TPoint __fastcall GetImageSize();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonRichContentMainMenuItem |
Description
Returns the size of the image attached to the control.
GetImageSize returns in a TPoint the size of the image attached (using a TImageList instance) to the control. Menu images must be 32 pixels, so the method returns (32, 32).