Adds layer to 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 int Add( PdfPageLayer layer )
Public Function Add ( layer As PdfPageLayer ) As Integer
public: int Add( PdfPageLayer^ layer )
member Add : layer : PdfPageLayer -> int
Parameters
- layer
- PdfPageLayer
Layer object.
Return Value
Int32Remarks
The layers belonging to the same page can be added to the collection only.