You are here: Start » AVL.NET » AVL.DrawImage(AvlNet.Image, AvlNet.Image, AvlNet.Location)

AVL.DrawImage(AvlNet.Image, AvlNet.Image, AvlNet.Location)

Draws an image on another one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawImage(
	ref AvlNet.Image ioImage,
	AvlNet.Image inDrawnImage,
	AvlNet.Location inLocation
)

Parameters

ioImage
Type: AvlNet.Image
inDrawnImage
Type: AvlNet.Image
Image to be pasted on ioImage
inLocation
Type: AvlNet.Location
Location at which the image will be pasted

Description

The operation draws the inDrawnImage on the inImage so that the upper-left corner of the inDrawnImage is aligned at the inLocation of the inImage.

Examples

The DrawImage used to draw an image on another, empty image.

Errors

Error type Description
DomainError Incompatible image depths in DrawImage.

See also