Add a new pdf layer.

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 AddLayer(
	string name
)
Public Function AddLayer ( 
	name As String
) As PdfLayer
public:
PdfLayer^ AddLayer(
	String^ name
)
member AddLayer : 
        name : string -> PdfLayer 

Parameters

name
String
Pdf layer name.

Return Value

PdfLayer
Pdf layer.

See Also