You are here: Start » AVL.NET » AVL.DrawImage Method

AVL.DrawImage Method

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

Name Type Range Default Description
ioImageAvlNet.Image
inDrawnImageAvlNet.ImageImage to be pasted on ioImage.
inLocationAvlNet.LocationLocation 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