IN_AttachPenMappingTable

All Editions image\bltlrgsq_shg.gif  Related Functions  image\bltlrgsq_shg.gif Example

The IN_AttachPenMappingTable function attaches the given pen mapping table to the given document.

Syntax

int IN_AttachPenMappingTable( documentID, tableID )

Parameters

Values

Meaning

IN_DOCUMENT documentID

docwinID or documentID

identifier of the document window or document to attach the pen mapping table to. See Remarks

IN_PENMAP_TABLE tableID

tableID

identifier of the pen mapping table to attach

 

0

detach the pen mapping table

Remarks

The documentID needs to be the root of the document.

Both the document and the pen mapping table must be loaded in memory.

To see the changes, you must refresh the image after attaching the pen mapping table to a document. Use the IN_Refresh function to refresh the image.

Release information

Added to Imagenation for Windows in Release 6.0.

Not yet available in Imagenation for UNIX.

See also

Vector pens: Key concepts

Mapping vector pens