PDF.Navigate

PDF.Navigate ( 

string ObjectName,

number NavigateType )

Description

Navigates to a relative page of a PDF File (*.pdf) currently loaded in an PDF object.

Parameters

ObjectName

(string) The name of the PDF object.

NavigateType

(number) The type of navigation to use. Choose from:

CONSTANT

VALUE

DESCRIPTION

PDF_FIRST

0

Go to the first page in the document.

PDF_LAST

1

Go to the last page in the document.

PDF_NEXT

2

Go to the next page in the document, if it exists.

PDF_PREV

3

Go to the previous page in the document, if it exists.

PDF_FORWARD

4

Go to the next view in the navigation history, if it exists.

PDF_BACK

5

Go to the previous view in the navigation history, if it exists.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions