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;

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 PdfLayer this[
	string name
] { get; }
Public ReadOnly Default Property Item ( 
	name As String
) As PdfLayer
	Get
public:
property PdfLayer^ default[String^ name] {
	PdfLayer^ get (String^ name);
}
member Item : PdfLayer with get

Parameters

name
String
Pdf layer name

Return Value

PdfLayer
Pdf layer

See Also