Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.GetImageSize

From RAD Studio API Documentation
Jump to: navigation, search

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 TRibbonApplicationMenuItem

Description

Returns the image size of the image attached to the control.

GetImageSize returns, in a TPoint, the image size of the image attached (using a TImageList instance) to the control. If the control does not have an image attached, then the method returns (0, 0). In this case, the image size is 32X32 pixels, so the method returns (32, 32).

See Also