Gets an instance of an Image.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static Image GetInstance(
	string filename
)
Visual Basic
Public Shared Function GetInstance ( _
	filename As String _
) As Image
Visual C++
public:
static Image^ GetInstance(
	String^ filename
)

Parameters

filename
Type: System..::..String
a filename

Return Value

an object of type Gif, Jpeg or Png

See Also