You’re viewing outdated documentation. View the latest Graphics Mill documentation.

PixelFormatUtils.IsRgb Method

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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