Pdf | |
The PdfLayerCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(String) | Adds a layer, shown when the document is opened. | |
| Add(String, Boolean) | Adds a layer. | |
| Clear | Removes every layer of the collection; what they draw stays on the pages, always shown. | |
| Contains | Gets whether the collection contains the layer. | |
| Flatten | Keeps everything the layers draw as plain page content and removes the layers (of the whole document). | |
| GetEnumerator | Returns an enumerator over the layers. | |
| IndexOf | Gets the index of the layer in the collection, or -1. | |
| Move | Moves a layer of the collection to another index of it, in the viewer's list. | |
| Remove(PdfLayer) | Removes a layer; what it draws stays on the pages, always shown. | |
| Remove(PdfLayer, Boolean) | Removes a layer, with or without what it draws. | |
| RemoveAt | Removes the layer at an index; what it draws stays on the pages. |