Class Layer
Layer class
Represents a layer within a PDF page.
Constructors
| Name | Description |
|---|
| Layer(string, string) | Initializes a new instance of the Layer class. |
Properties
| Name | Description |
|---|
| Contents { get; } | Gets the layer content. |
| Id { get; } | Gets the layer id. |
| Locked { get; } | Gets a value indicating whether the layer is locked. |
| Name { get; } | Gets the layer name. |
Methods
| Name | Description |
|---|
| Delete() | Deletes the current layer from the PDF document. |
| Flatten(bool) | Flattens the specified layer. |
| Lock() | Locks the layer. |
| Save(Stream) | Saves the current layer to a PDF document. |
| Save(string) | Saves the current layer to a PDF document. |
| Unlock() | Unlocks the layer. |
See Also