Click or drag to resize

PdfArrayIndexOf Method

Searches for the specified PdfBasicObject and returns the zero-based index of the first occurrence within the entire PdfArray.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public int IndexOf(
	PdfBasicObject item
)

Parameters

item
Type: GemBox.Pdf.ObjectsPdfBasicObject
The PdfBasicObject to locate in the PdfArray.

Return Value

Type: Int32
The zero-based index of the first occurrence of item within the entire PdfArray, if found; otherwise, –1.

Implements

IListTIndexOf(T)
See Also