You are here: Start » AVL.NET » Function Reference » Image » Image Drawing » AVL.DrawImage

AVL.DrawImage

Draws an image on another one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DrawImage
(
	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

List of possible exceptions:

Error type Description
DomainError Incompatible image depths in DrawImage.

See also