PixelFormatInfo(Byte) Constructor

Initializes a new instance of the PixelFormatInfo struct.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
C#
public PixelFormatInfo(
	byte bitsPerPixel
)

Parameters

bitsPerPixel  Byte
The bits-per-pixel value of the pixel format to create. Must be between 1 and 128.

Exceptions

ArgumentOutOfRangeExceptionbitsPerPixel must be between 1 and 128.

See Also