Creats an Image in raw mode.

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

Syntax

C#
public ImgRaw(
	int width,
	int height,
	int components,
	int bpc,
	byte[] data
)
Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	components As Integer, _
	bpc As Integer, _
	data As Byte() _
)
Visual C++
public:
ImgRaw(
	int width, 
	int height, 
	int components, 
	int bpc, 
	array<unsigned char>^ data
)

Parameters

width
Type: System..::..Int32
the exact width of the image
height
Type: System..::..Int32
the exact height of the image
components
Type: System..::..Int32
1,3 or 4 for GrayScale, RGB and CMYK
bpc
Type: System..::..Int32
bits per component. Must be 1,2,4 or 8
data
Type: array<System..::..Byte>[]()[][]
data the image data

See Also