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, bool withContent )
Public Function RemoveLayer ( layer As PdfLayer, withContent As Boolean ) As Boolean
public: bool RemoveLayer( PdfLayer^ layer, bool withContent )
member RemoveLayer : layer : PdfLayer * withContent : bool -> bool
Parameters
- layer
- PdfLayer
The pdf layer.
- withContent
- Boolean
If true,remove content with the pdf layer.Otherwise,false.
Return Value
BooleanTrue if item is successfully removed; otherwise, false. This method also returns false if item was not found