UtilImageOverlayImages Method

Overlay a Image over another Image used as background.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Image OverlayImages(
	Image backImage,
	Image topImage,
	int topPosX = 0,
	int topPosY = 0
)

Parameters

backImage  Image
The background Image.
topImage  Image
The topmost Image.
topPosX  Int32  (Optional)
An adjustment of the "X" position of the topmost Image.
topPosY  Int32  (Optional)
An adjustment of the "Y" position of the topmost Image.

Return Value

Image
The overlayed image.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentNullException backImage or topImage
ArgumentException Image bounds are greater than background image.;topImage

See Also