Prints the given picture on a printer.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static void Print(
	Image image,
	float x,
	float y,
	float width,
	float height
)

Parameters

image
Type: System.Drawing..::.Image
An Image.
x
Type: System..::.Single
The relative X-coordinate in the range from 0 to 1 of the left upper corner.
y
Type: System..::.Single
The relative Y-coordinate in the range from 0 to 1 of the left upper corner.
width
Type: System..::.Single
The relative width in the range from 0 to 1.
height
Type: System..::.Single
The relative height in the range from 0 to 1.

Exceptions

ExceptionCondition
System..::.ArgumentNullException image is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also