FMX.Graphics.TCanvas.Height
Delphi
property Height: Integer read FHeight;
C++
__property int Height = {read=FHeight, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TCanvas |
Description
Specifies the height of the drawing area of the TCanvas.
The width and height of TCanvas are specified in logical units, depending on the device's scale. For example, if the display size is 1920x1080 with Scale of 3, the actual returned size is 640x360. Note that the actual display size excludes the status bar and possibly soft buttons.
Height is set when the TCanvas is created. If TCanvas is created from a bitmap, it will have the same size as the bitmap. To explicitly set the TCanvas size, create it using CreateFromWindow.