Accusoft PDF Xpress Control v5.0
IndexOf Method
See Also  Send comments on this topic.
pIQuadrilateral
A Quadrilateral object to search for in the collection.
QuadrilateralCollection Collection : IndexOf Method

Glossary Item Box

Description

Determines if the specified Quadrilateral is in the collection and returns its index.

Syntax

Visual Basic
Public Function IndexOf( _
   ByVal pIQuadrilateral As Quadrilateral _
) As Long

Parameters

pIQuadrilateral
A Quadrilateral object to search for in the collection.

Return Type

A long value which represents a zero-based index of the first occurrence of it. If the given pIQuadrilateral is not found in the collection, -1 is returned.

Remarks

This method searches the collection for a reference to the given pIQuadrilateral. If it finds a reference to it, it returns its index. If it cannot find a reference to it, -1 is returned. If the object is present more than once in the collection, the lowest index of a match is returned.

See Also

©2012. Accusoft Corporation. All Rights Reserved.