FMX.Platform.IFMXScreenService.GetScreenSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetScreenSize: TPointF;

C++

virtual System::Types::TPointF __fastcall GetScreenSize() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform IFMXScreenService

Description

Declares a method returning the screen dimensions.

Implementations of GetScreenSize should return the screen height and width in logical units (density-independent pixels). GetScreenSize should return the screen height and width in compliance with the screen orientation. That is, if the orientation is vertical (for example Portrait), then Height >= Width. If the orientation is horizontal (for example Landscape), then Height < Width.

See Also