FMX.Menus.TMenuItem.CalcSize
Delphi
function CalcSize: TPointF;
C++
System::Types::TPointF __fastcall CalcSize();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TMenuItem |
Description
Calculates the size of a TMenuItem as a TPointF.
Use CalcSize to determine the size of a TMenuItem object as a TPointF.
Note: The Y value of the TPointF returned is 8 for a separator, and 23 for a regular TMenuItem.