Represent pdf layer collection.
Namespace: Spire.Pdf.Graphics.LayerAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfLayerCollection : [T:sprᝰ]
Public Class PdfLayerCollection Implements [T:sprᝰ]
public ref class PdfLayerCollection : [T:sprᝰ]
type PdfLayerCollection = class interface [T:sprᝰ] end
Members
| All Members | Properties | Methods |
| Member | Description | |
|---|---|---|
| AddLayer(String) |
Add a new pdf layer.
| |
| AddLayer(String, PdfVisibility) |
Add a new pdf layer.
| |
| Count |
Gets the number of pdf layers contained.
| |
| 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()()()() | ||
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Item[([( Int32])]) |
Get the pdf layer of the index.
| |
| Item[([( String])]) |
Get the pdf layer of name.
Notice:
Pdf layer name may be is not unique.
If exist duplication of name,return first pdf layer of name.
If not exist pdf layer of name,return null;
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NewOutline()()()() |
Create a new empty pdf layer outline.
| |
| RemoveLayer(String) |
Remove the pdf layer.
Notice: Pdf layer name may be is not unique.
If exist duplication of name,will remove all pdf layers of name.
| |
| RemoveLayer(PdfLayer) |
Remove the pdf layer.
| |
| RemoveLayer(String, Boolean) |
Remove the pdf layer.
Notice: Pdf layer name may be is not unique.
If exist duplication of name,will remove all pdf layers of name.
| |
| RemoveLayer(PdfLayer, Boolean) |
Remove the pdf layer.
| |
| SynchronizeFromPdfPrimitive()()()() |
Synchronize the instance from the pdf primitive.
| |
| SynchronizeToPdfPrimitive()()()() |
Synchronize the instance to the pdf primitive.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Graphics.Layer..::..PdfLayerCollection
Spire.Pdf.Graphics.Layer..::..PdfLayerCollection