GeneratedPalette Property (ILEADRasterDlgClr)

Visual Basic example

Visual C++ example

 

Syntax

OLE_COLOR GeneratedPalette(short lIndex);

Overview

Refer to Using Imaging Common Dialogs

Remarks

(Read Only) Gets the generated palette in the CustomizePalette dialog box (the palette displayed in the right pane when the dialog is closed).

Note that this property will be valid only if you set either CUSTOMIZEPALETTE_GENERATE_PALETTE or CUSTOMIZEPALETTE_SHOW_APPLYPALETTEWHENEXIT flags in UIFlags property before calling the ShowCustomizePaletteDlg method.

See Also

Elements

ShowCustomizePaletteDlg method, UserPalette property, ApplyPaletteWhenExit property, GeneratedPaletteCount property