Click or drag to resize
Pdf Library for .NET

PdfLayerCollectionRemove(PdfLayer, Boolean) Method

Removes a layer, with or without what it draws.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public void Remove(
	PdfLayer layer,
	bool removeContent
)

Parameters

layer  PdfLayer
The layer to remove.
removeContent  Boolean
True: what the layer draws is removed from the pages too (a loaded document). False: it stays, always shown.
See Also