Click or drag to resize

LayerCollection Methods

The LayerCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd(String)Adds a layer, shown when the document is opened.
Public methodAdd(String, Boolean)Adds a layer.
Public methodClearRemoves every layer of the collection; what they draw stays on the pages, always shown.
Public methodContainsGets whether the collection contains the layer.
Public methodFlatten Keeps everything the layers draw as plain page content and removes the layers (of the whole document).
Public methodGetEnumeratorGets the collection enumerator.
Public methodIndexOfGets the index of the layer in the collection, or -1.
Public methodRemove(Layer)Removes a layer; what it draws stays on the pages, always shown.
Public methodRemove(Layer, Boolean)Removes a layer, with or without what it draws.
Public methodRemoveAtRemoves the layer at an index; what it draws stays on the pages.
Top
See Also