XPDFViewer_Text

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
XPDFViewer_Text(<viewerName>, <pageNumber>)
Associationsxpdf
Summary

Return the text of a page in ANSI.

EditionBusiness
Introduced1.0.0
OSmac, windows
Platformsdesktop
Parameters
NameTypeDescription
viewerName

The name of the viewer.

pageNumber

The pageNumber to return the text of.

Example
put XPDFViewer_Text("Document1",3) into fld "page text"
Values
NameTypeDescription
return

The text of the page.

Description

This function should be considered deprecated in favor of XPDFViewer_Unicode.

The following errors may be thrown by the command:

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