PdfLayerCollection
RemoveLayer Method (String)
|
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: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System
String
Pdf layer name.
Return Value
Type:
Boolean
True if item is successfully removed; otherwise, false. This method also
returns false if item was not found
See Also