The special value -1 for index makes the function return the type of the palette that is currently in use by the editor window.
If either index or type is out of range, an error message will be given and the ULP will be terminated.
Constants
PALETTE_TYPES | the number of palette types (3) |
PALETTE_BLACK | the black background palette (0) |
PALETTE_WHITE | the white background palette (1) |
PALETTE_COLORED | the colored background palette (2) |
PALETTE_ENTRIES | the number of colors per palette (64) |
Index | Copyright © 2005 CadSoft Computer GmbH |