XPDFViewer_GoToPage

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
XPDFViewer_GoToPage <viewerName>, {"last" | "first" | "next" | "prev" | <pageNumber>}
Associationsxpdf
Summary

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

EditionBusiness
Introduced1.0.0
OSmac, windows
Platformsdesktop
Parameters
NameTypeDescription
viewerName

The name of the viewer.

pageNumber

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

Example
XPDFViewer_GoToPage "Document1", "next"
Values
NameTypeDescription
return

true if printing is available.

Description

The following errors may be thrown by the command:

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