Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.StretchDraw(TRect,TGraphic) Method

Scroll Prev Top Next More

Draws the graphic specified by the Graphic parameter in the rectangle specified by the Rect parameter.

Implements drawing a graphic on the canvas so that the image fits in the specified rectangle.

To render the graphic in its natural size, use the Draw method instead.
 

Namespace: RSGdiPlusGraphics

Parameters

Rect

Type: TRect

Graphic

Type: TGraphic

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb