ImageEn, unit iexColorPalette

TIEColorPalette.SortMethod

TIEColorPalette.SortMethod


Declaration

property SortMethod: TIESortMethod;


Description

Specify the order in which colors are displayed.

Note: Use SortOrder to reverse the sorting.


Example

// Display colors in the order that we assign them
IEColorPalette1.SortMethod := iesmNone;

// Sort colors by luminance
IEColorPalette1.SortMethod := iesmHSLLuminance;

// Sort colors by Delphi order
IEColorPalette1.SortMethod := iesmDelphi;