Aspose::Pdf::Layer class

Layer class

Represents a layer within a PDF page.

class Layer : public System::Object

Methods

MethodDescription
Delete()Deletes the current layer from the PDF document.
Flatten(bool)Flattens the specified layer.
get_Contents() constGets the layer content.
get_Id() constGets the layer id.
get_Locked()Gets a value indicating whether the layer is locked.
get_Name() constGets the layer name.
Layer(System::String, System::String)Initializes a new instance of the Layer class.
Lock()Locks the layer.
Save(System::String)Saves the current layer to a PDF document.
Save(System::SharedPtr<System::IO::Stream>)Saves the current layer to a PDF document.
Unlock()Unlocks the layer.

See Also