PdfAnnotationCollection
IndexOf Method
|
Searches the collection for the specified annotation.
Namespace:
Spire.Pdf.Annotations
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public int IndexOf(
PdfAnnotation annotation
)
Public Function IndexOf (
annotation As PdfAnnotation
) As Integer
public:
int IndexOf(
PdfAnnotation^ annotation
)
member IndexOf :
annotation : PdfAnnotation -> int
Parameters
-
annotation
-
Type:
Spire.Pdf.Annotations
PdfAnnotation
The Annotation to search.
Return Value
Type:
Int32
Index of the element in the collection, if exists, or -1 if the element does not exist in the collection.
See Also