Returns index of the layer in the collection if exists, -1 otherwise.
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 IndexOf( PdfPageLayer layer )
Public Function IndexOf ( layer As PdfPageLayer ) As Integer
public: int IndexOf( PdfPageLayer^ layer )
member IndexOf : layer : PdfPageLayer -> int
Parameters
- layer
- PdfPageLayer
Layer object.
Return Value
Int32Returns index of the layer in the collection if exists, -1 otherwise.