Draws the specified image fileName, using its original physical size, at the specified location.
Namespace:
SGP.Baltie2DAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[DefaultMethodAttribute] public void DrawImage( string fileName, int x, int y ) |
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.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |