Click or drag to resize

AtalaImage Constructor (Int32, Int32, PixelFormat, Byte)

Initializes a new instance of the AtalaImage class.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AtalaImage(
	int width,
	int height,
	PixelFormat pixelFormat,
	byte fillPaletteIndex
)

Parameters

width
Type: SystemInt32
The width.
height
Type: SystemInt32
The height.
pixelFormat
Type: Atalasoft.ImagingPixelFormat
The pixel format.
fillPaletteIndex
Type: SystemByte
Index of the fill palette.
Exceptions
ExceptionCondition
ArgumentException Pixel Format must contain a palette when specifying the palette index to fill the image with. or Palette Index must be 0 or 1 for 1-bit images;fillPaletteIndex
See Also