Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

ColorPalette Constructor (ColorPaletteType, Boolean)

Creates and initializes new ColorPalette class instance. You can set palette type here.

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

Syntax

Visual Basic
Public Sub New ( _
	colorPaletteType As ColorPaletteType, _
	hasAlpha As Boolean _
)
C#
public ColorPalette(
	ColorPaletteType colorPaletteType,
	bool hasAlpha
)

Parameters

colorPaletteType

Type: Aurigma.GraphicsMill.ColorPaletteType

ColorPaletteType value that indicates palette type.
hasAlpha

Type: System.Boolean

Value indicating if palette entries should support alpha channel (information about pixel transparency).

See Also

Reference