PdfDocument.CreateLayer Method (String)

Creates a new PdfLayer with specified name and adds it to the collection of documents layers.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfLayer CreateLayer(
	string name
)
VB
Public Function CreateLayer ( 
	name As String
) As PdfLayer

Parameters

name
Type: System.String
The name for the new layer.

Return Value

Type: PdfLayer
The newly created PdfLayer.

Remarks

The new layer is Visible and has all known PdfLayerIntent names specified.

See Also