XPDFViewer_CharacterCount

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

Count the number of characters on a page.

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_CharacterCount("Document1", 3) into theNumberOfChars
Values
NameTypeDescription
return

The number of characters on the page.

Description

The following errors may be thrown by the command:

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