XPDFViewer_GetSelectionText

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
XPDFViewer_GetSelectionText(<viewerName>)
Associationsxpdf
Summary

Return the selected text 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_GetSelectionText("Document1") into fld "selected text"
Values
NameTypeDescription
return

The selected text.

Description

This function should be considered deprecated in favor of XPDFViewer_GetSelectionUnicode

The following errors may be thrown by the command:

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