Remove the pdf layer. Notice: Pdf layer name may be is not unique. If exist duplication of name,will remove all pdf layers of name.

Namespace: Spire.Pdf.Graphics.Layer
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public bool RemoveLayer(
	string name
)
Public Function RemoveLayer ( 
	name As String
) As Boolean
public:
bool RemoveLayer(
	String^ name
)
member RemoveLayer : 
        name : string -> bool 

Parameters

name
String
Pdf layer name.

Return Value

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

See Also