Name
GetPalettePen -- get pen color from palette (V9.0)
Synopsis
color = GetPalettePen(id, pen)
Function
This function gets the color of the pen specified by pen from the palette specified by id. The color will be returned as an RGB color.

Inputs
id
identifier of palette to use
pen
pen you want to get (starting from 0)
Results
color
color of the pen, specified as an RGB color
Example
color = GetPalettePen(1, 0)
The code gets the color of the first pen in palette 1.

Show TOC