Click or drag to resize

PdfLayerCollection RemoveLayer Method (PdfLayer)

Remove the pdf layer.

Namespace: Spire.Pdf.Graphics.Layer
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public bool RemoveLayer(
	PdfLayer layer
)

Parameters

layer
Type: Spire.Pdf.Graphics.Layer PdfLayer
The pdf layer.

Return Value

Type: Boolean
True if item is successfully removed; otherwise, false. This method also returns false if item was not found
See Also