PixelFormatInfo(KnownPixelFormat) 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(
	KnownPixelFormat pixelFormat
)

Parameters

pixelFormat  KnownPixelFormat
A known pixel format to initialize a PixelFormatInfo from.

Exceptions

ArgumentOutOfRangeExceptionpixelFormat must be a valid format.

See Also