Collection of the pages layers.
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("This class may be removed in the future, please use Spire.Pdf.Graphics.Layer.PdfLayerCollection class instead.")] public class PdfPageLayerCollection : PdfCollection
<ObsoleteAttribute("This class may be removed in the future, please use Spire.Pdf.Graphics.Layer.PdfLayerCollection class instead.")> Public Class PdfPageLayerCollection Inherits PdfCollection
[ObsoleteAttribute(L"This class may be removed in the future, please use Spire.Pdf.Graphics.Layer.PdfLayerCollection class instead.")] public ref class PdfPageLayerCollection : public PdfCollection
[<ObsoleteAttribute("This class may be removed in the future, please use Spire.Pdf.Graphics.Layer.PdfLayerCollection class instead.")>] type PdfPageLayerCollection = class inherit PdfCollection end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfPageLayerCollection(PdfPageBase) |
Creates new collection.
| |
| Add()()()() |
Creates a new layer and adds it to the end of the collection.
| |
| Add(String) |
Creates a new layer and adds it to the collection.
| |
| Add(PdfPageLayer) |
Adds layer to the collection.
| |
| Add(String, Boolean) |
Creates a new layer and adds it to the end of the collection.
| |
| Add(String, String, Boolean) |
Creates a new layer and adds it to the end of the collection.
| |
| Clear()()()() |
Cleares the collection.
| |
| Contains(PdfPageLayer) |
Checks whether collection contains layer.
| |
| Count |
Gets number of the elements in the collection.
(Inherited from PdfCollection.) | |
| DeleteOldLayer(String) |
You can only delete the layer that exists in the source document
| |
| DeleteOldLayer(String, Boolean, Boolean) |
You can only delete the layer that exists in the source document
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from PdfCollection.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(PdfPageLayer) |
Returns index of the layer in the collection if exists, -1 otherwise.
| |
| Insert(Int32, PdfPageLayer) |
Inserts layer into collection.
| |
| Item[([( Int32])]) |
Gets or sets element by its index.
| |
| List |
Gets internal list of the collection.
(Inherited from PdfCollection.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(PdfPageLayer) |
Removes layer from the collection. Only the currently created layer can be deleted
| |
| RemoveAt(Int32) |
Removes layer by its index. Only the currently created layer can be deleted
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |