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

PixelFormatUtils.BitsPerPixel Method

Returns number of bits per pixel for specified pixel format.

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

Syntax

Visual Basic
Public Shared Function BitsPerPixel ( _
	format As PixelFormat _
) As Integer
C#
public static int BitsPerPixel(
	PixelFormat format
)

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

PixelFormat enumeration member to check.

Return Value

Number of number of bits per pixel for specified pixel format.

See Also

Reference