Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPCanvas.DrawImage(TRSGPImage,TRect,TRect,Single,TRSGPUnit) Method

Scroll Prev Top Next More

Draws a portion of an image at the specified location

Namespace: RSGdiPlusGraphics

Parameters

Image

Type: TRSGPImage

Image to be drawn

DstRect

Type: TRect

Rectangle, measured in pixels, that specifies the bounds of the rendered image. The portion of the image specified by sourceRect is scaled to fill the rectangle specified by destRect.

SrcRect

Type: TRect

the portion of the source image to be drawn.

Opacity

Type: Single

Transparency to be applied when drawing image.

SrcUnit

Type: TRSGPUnit

Unit of measure for the image. The default value is uPixel.

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb