RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TJPEGImage.GetWidth Method

Get horizontal size of graphic in pixels.

Pascal
function GetWidth: Integer; override;
C++
virtual __fastcall int GetWidth();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!