RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.SetWidth Method

Set horizontal size of graphic in pixels.

Pascal
procedure SetWidth(Value: Integer); override;
C++
virtual __fastcall SetWidth(int Value);

SetWidth sets 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!