This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapTransform.IsPixelFormatSupported Method

Verifies if bitmap with specified pixel format is supported by this transform.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overridable Function IsPixelFormatSupported ( _
	format As PixelFormat _
) As Boolean
C#
public virtual bool IsPixelFormatSupported(
	PixelFormat format
)

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

PixelFormat value to verify.

Return Value

Value that equals to true if specified pixel format is supported, false otherwise.

Remarks

If you try to apply this transform to a bitmap which has unsupported pixel format, UnsupportedPixelFormatException will be raised.

To get a list of all supported pixel formats, you can use SupportedPixelFormats method.

See Also

Reference