Inserts layer into collection.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Insert(
	int index,
	PdfPageLayer layer
)
Public Sub Insert ( 
	index As Integer,
	layer As PdfPageLayer
)
public:
void Insert(
	int index, 
	PdfPageLayer^ layer
)
member Insert : 
        index : int * 
        layer : PdfPageLayer -> unit 

Parameters

index
Int32
Index of the layer.
layer
PdfPageLayer
Layer object.

Remarks

The layers belonging to the same page can be added to the collection only.

See Also