Accusoft PDF Xpress Control v5.0
IndexOf Method
See Also  Send comments on this topic.
pIPageRange
The PageRange object to search for in the collection.
PageList Collection : IndexOf Method

Glossary Item Box

Description

Determines if the specified PageRange is in the collection and returns it's index value.

Syntax

Visual Basic
Public Function IndexOf( _
   ByVal pIPageRange As PageRange _
) As Long

Parameters

pIPageRange
The PageRange object to search for in the collection.

Return Type

If the given PageRange is present in the collection, this method will return the zero-based index of the first occurrence of it; otherwise this method will return -1.

Remarks

This method implements a standard collection operation. It searches the collection for a reference to the given object. If it finds a reference to it, it will return its index. If it cannot find a reference to it, this method will return -1. If the object is present more than once in the collection, this method will return the lowest index of a match.

See Also

©2012. Accusoft Corporation. All Rights Reserved.