Draws the specified image fileName, using the specified size, at the specified location.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void DrawImage(
	string fileName,
	int x,
	int y,
	int w,
	int h
)

Parameters

fileName
Type: System..::.String
The file name of an image.
x
Type: System..::.Int32
The X-coordinate of the upper-left corner of the drawn image.
y
Type: System..::.Int32
The Y-coordinate of the upper-left corner of the drawn image.
w
Type: System..::.Int32
The width of the drawn image.
h
Type: System..::.Int32
The height of the drawn image.

Exceptions

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

See Also