Class Layer

Layer class

Represents a layer within a PDF page.

public class Layer

Constructors

NameDescription
Layer(string, string)Initializes a new instance of the Layer class.

Properties

NameDescription
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

NameDescription
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