Creates a new layer and adds it to the end of the collection.
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public PdfPageLayer Add( string name, bool isVisible )
Public Function Add ( name As String, isVisible As Boolean ) As PdfPageLayer
public: PdfPageLayer^ Add( String^ name, bool isVisible )
member Add : name : string * isVisible : bool -> PdfPageLayer
Return Value
PdfPageLayerCreated layer.