Skip to main content

XPDFViewer_GoToPage

Type​

command

Summary​

Navigate to a page using either one of the four navigation constants or a specific pageNumber.

Syntax​

XPDFViewer_GoToPage <viewerName>, {"last" | "first" | "next" | "prev" | <pageNumber>}

Description​

The following errors may be thrown by the command:

  • XPDF_ERROR: incorrect number of parameters
  • XPDF_ERROR: PDF viewer not found

Parameters​

NameTypeDescription

viewerName

string

The name of the viewer.

pageNumber

integer

An integer between 1 and the number of pages in the document.

Examples​

XPDFViewer_GoToPage "Document1", "next"

Value​

NameTypeDescription

return

true if printing is available.

Compatibility and Support​

Introduced

LiveCode 1.0.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?