TcxCanvas.StretchDraw(TRect,TGraphic) Method
In This Article
Draws a specified image on a designated canvas area.
#Declaration
#Parameters
Name | Type |
---|---|
Rect | TRect |
Graphic | TGraphic |
#Remarks
Call this procedure and pass a target rectangle on the canvas as the Rect parameter to draw content of a TGraphic container passed as the AImage parameter. The StretchDraw procedure stretches or shrinks the specified image if its size does match the target rectangle.
Note
The Stretch
See Also