Removing layers and pages

 

Using one function, you can remove a page from a document window, or a layer from a page.

To remove a page or a layer from a document window:

· Use the IN_DeleteObject function. Specify a page ID or a layer ID as the objectID.

The specified page or layer is removed.

You can also use the IN_DeleteLayer macro to remove a layer. However, this macro has not been tested in Imagenation for UNIX.

To receive a notification when an Imagenation user deletes a page or a layer, register the NotifyDeletePage and the NotifyDeleteLayer notifications.

See also

Adding layers and pages

Reordering layers and pages

Consolidating layers

Unloading pages