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

PixelFormatUtils.ColorSpace Method

Returns color space of the specified pixel format.

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

Syntax

Visual Basic
Public Shared Function ColorSpace ( _
	format As PixelFormat _
) As ColorSpace
C#
public static ColorSpace ColorSpace(
	PixelFormat format
)

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

PixelFormat enumeration member to check.

Return Value

ColorSpace enumeration member that contains a color space of the specified pixel format.

Remarks

Always Rgb for indexed bitmaps.

See Also

Reference