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

ColorPalette Methods

The ColorPalette type exposes the following members.

Methods

Name Description
Public method Clone

Returns a full copy of this ColorPalette instance.

Public method Static member Create Overloaded.

Returns a new ColorPalette containing colors generated from a given bitmap.

Public method Dispose

Releases all resources used by this ColorPalette.

Public method Equals

Tests whether the specified object is a ColorPalette instance and is equivalent to this ColorPalette.

(Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method FindNearestIndex

Returns an index of the color in this palette closest to a given one.

Public method GetEnumerator

Returns an enumerator for the entire ColorPalette.

Public method GetEnumeratorBase

Returns an enumerator for the entire ColorPalette.

Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetKeyColor Overloaded.

Makes a palette entry transparent.

Public method ToGdiPlusColorPalette

Gets the System.Drawing.Imaging.ColorPalette containing the same colors as this ColorPalette does.

Public method ToString (Inherited from Object.)

See Also

Reference