vpdf_GetSearchResultRectangle

 

vpdf_GetSearchResultRectangle(hVPDF As Long, iRectangle As Integer, ByRef pLeft As Double, ByRef pTop As Double, ByRef pRight As Double, ByRef pBottom As Double) As Boolean

 

Description

 

Returns a rectangle that belongs to the current search result. Returns the coordinates in points (1/72 inches), relative to the bottom left corner of the page. Please see the code sample on the page of the vpdf_BeginSearch function for usage.

 

Parameters               

 

Long

hVPDF

Handle to the Vector PDF object.

Integer

iRectangle

The index of the rectangle.

Double

dLeft

Returns the distance of the left side of the rectangle from the left side of the page in points.

Double

dTop

Returns the distance of the top of the rectangle from the bottom of the page in points.

Double

dRight

Returns the distance of the right side of the rectangle from the left side of the page in points.

Double

dBottom

Returns the distance of the bottom of the rectangle from the bottom of the page in points.

 

Return value

TRUE on success, otherwise FALSE.