Remove the pdf layer.
Namespace: Spire.Pdf.Graphics.LayerAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public bool RemoveLayer( PdfLayer layer )
Public Function RemoveLayer ( layer As PdfLayer ) As Boolean
public: bool RemoveLayer( PdfLayer^ layer )
member RemoveLayer : layer : PdfLayer -> bool
Parameters
- layer
- PdfLayer
The pdf layer.
Return Value
BooleanTrue if item is successfully removed; otherwise, false. This method also returns false if item was not found