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

ColorPalette.Import Method

Imports the palette from array of RgbColor values.

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

Syntax

Visual Basic
Public Sub Import ( _
	array As RgbColor() _
)
C#
public void Import(
	RgbColor[] array
)

Parameters

array

Type: Aurigma.GraphicsMill.RgbColor []

Array of RgbColor values containing new entries for the palette. Note, array must have the same dimension as the palette (i.e. number of array elements must equal to Count property of this palette).

Examples

#CODE_VB_ColorConversionVB/form1.vb#ImportFromArray_CODE# #CODE_C#_ColorConversionCS/form1.cs#ImportFromArray_CODE#

See Also

Reference