Name
SetLayerTransparentPen -- set transparent pen of layer palette (V9.0)
Synopsis
SetLayerTransparentPen(id, pen)
Function
This function sets the transparent pen of the palette of the layer specified by id to the pen specified in pen. Pens are counted from 0.

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
id
identifier of layer to use
pen
desired transparent pen (starting from 0)
Example
SetLayerTransparentPen(1, 4)
The code makes pen 4 in the palette of layer 1 transparent.

Show TOC