Vcl.RibbonActnCtrls.TRibbonBaseButtonControl.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 TRibbonBaseButtonControl

Description

Returns the size of the image attached to the control.

GetImageSize returns in a TPoint the size of the image attached to the control (using a TImageList instance). If the control does not have an image attached, then the method returns (0, 0).

See Also