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

PixelFormatUtils.IsRgb Method

Returns value that specifies whether pixel format belongs RGB color space.

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

Syntax

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

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

PixelFormat enumeration member to check.

Return Value

Value that specifies whether pixel format belongs RGB color space (true) or not (false).

Remarks

Always true for indexed bitmap.

See Also

Reference