Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPCanvas.DrawImage(TRSGPImage,Single,Single,TRectF,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

X

Type: Single

x-coordinate of the upper-left corner of the destination position at which to draw the image.

Y

Type: Single

y-coordinate of the upper-left corner of the destination position at which to draw the image.

SrcRect

Type: TRectF

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