Represent pdf layer collection.

Namespace: Spire.Pdf.Graphics.Layer
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class PdfLayerCollection : IPdfWrapper
Public Class PdfLayerCollection
	Implements IPdfWrapper
public ref class PdfLayerCollection : IPdfWrapper
type PdfLayerCollection =  
    class
        interface IPdfWrapper
    end

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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

See Also