ColorBoxRampNodes Property

Description

Returns/sets the color cells joined ramped node string of popup window.

Usage

[form.][control.]ColorBoxRampNodes[ = String]

Data Type

String

Default

“”

Remarks

ColorBoxRampNodes is a joined string which contains ramp nodes value mapped to palette popup window color cells, as the following description:

String Structure: Node0, Node1, Node2,…, Node255

This property is simplified by SetColorCellRampNode and GetColorCellRampNode methods. If this property straight inputting and modifying is discommodious, please use SetColorCellRampNode and GetColorCellRampNode methods, see also SetColorCellRampNode and GetColorCellRampNode methods.

After loaded a standard ramp palette file or when generated a ramp palette, the ColorCell(0,0) and ColorCell(x, y) ramp node type must be True. x, y determines by ColorBoxDimension.

More details about ramp palette functions, see also GeneratePalette and SavePalette methods.

Notes: any sub node string DO NOT contains character “,”.

Sample

ColorPicker1.ColorBoxRampNodes = “True, False, False, …, True”