FMX.Types.TDisplay

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDisplay = record

C++

struct DECLSPEC_DRECORD TDisplay
{
public:
    System::NativeUInt Id;
    int Index;
    bool Primary;
    System::Types::TRectF Bounds;
    System::Types::TRect PhysicalBounds;
    System::Types::TRectF Workarea;
    System::Types::TRect PhysicalWorkarea;
    float Scale;
    System::Types::TRectF __fastcall BoundsRect();
    System::Types::TRectF __fastcall WorkareaRect();
    __fastcall TDisplay(const int AIndex, const bool APrimary, const System::Types::TRectF &ABounds, const System::Types::TRectF &AWorkArea);
    TDisplay() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Represent basic properties of a display on which an application runs.

TDisplay represents a display that shows the user interface of the application. It introduces properties to describe the dimensions of a single display. In addition, the Primary property distinguishes the primary display from other displays used to comprise the desktop.

Applications do not create instances of TDisplay. Instead, all available displays are listed by the Displays property of the global Screen variable. The Screen variable also provides global information about the displays on which the application runs, such as coordinates and dimensions of displays and so on.

See Also