Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

ColorPalette.SetKeyColor Method (Int32)

Makes a palette entry with a given index transparent.

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

Syntax

C#
public void SetKeyColor(
	int entryIndex
)

Parameters

entryIndex

Type: System.Int32

The index of the palette entry which should be transparent.

Remarks

Alpha channel of a given entry will be dropped to 0, alpha channels of all other entries will be set to 255. This way palette will contain a single transparent color.

This method can be treated as analogue of Transparentize transform for non-indexed image.

See Also

Reference