XPDFViewer_Unicode |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | XPDFViewer_Unicode <viewerName>, <pageNumber>, <variableName>
|
Associations | xpdf |
Summary | This command sets the value of a named variable to the UTF16 encoded text of a specific page.
|
Edition | Business |
Introduced | 1.0.0 |
OS | mac, windows |
Platforms | desktop |
Parameters | Name | Type | Description |
---|
viewerName | | The name of the viewer.
|
pageNumber | | The pageNumber to return the text of.
|
variableName | | The name of the variable to set to the unicode
text of the page.
|
|
Example | local thePageText
XPDFViewer_Unicode "Document1", 3, "thePageText"
set the text of field "page text" to textDecode(thePageText,"UTF16")
|
Description | The following errors may be thrown by the command:
- XPDF_ERROR:
incorrect number of parameters
- XPDF_ERROR:
PDF viewer not found
|
Tags | externals |