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

PixelFormatUtils.IsGrayScale Method

Returns value that specifies whether pixel format is grayscale.

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

Syntax

Visual Basic
Public Shared Function IsGrayScale ( _
	format As PixelFormat _
) As Boolean
C#
public static bool IsGrayScale(
	PixelFormat format
)

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

PixelFormat enumeration member to check.

Return Value

Value that specifies whether pixel format is grayscale (true) or not (false).

See Also

Reference