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(
	byte[] imgb
)
Visual Basic
Public Shared Function GetInstance ( _
	imgb As Byte() _
) As Image
Visual C++
public:
static Image^ GetInstance(
	array<unsigned char>^ imgb
)

Parameters

imgb
Type: array<System..::..Byte>[]()[][]

Return Value

an object of type Gif, Jpeg or Png

See Also