You can only delete the layer that exists in the source document

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

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public string DeleteOldLayer(
	string layerName
)
Public Function DeleteOldLayer ( 
	layerName As String
) As String
public:
String^ DeleteOldLayer(
	String^ layerName
)
member DeleteOldLayer : 
        layerName : string -> string 

Parameters

layerName
String
Layer Name.

Return Value

String

See Also