Vcl.Graphics.TBitmap.GetWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetWidth: Integer; override;

C++

virtual int __fastcall GetWidth();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

Get horizontal size of graphic in pixels.

Vcl.Graphics.TBitmap.GetWidth inherits from Vcl.Graphics.TGraphic.GetWidth. All content below this line refers to Vcl.Graphics.TGraphic.GetWidth.

Get horizontal size of graphic in pixels.

GetWidth gets the horizontal size of the graphic in pixels.

Each descendant of the TGraphic class defines its own GetWidth and SetWidth methods to access the Width property.

See Also