XPDFViewer_CharacterCount |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | XPDFViewer_CharacterCount(<viewerName>, <pageNumber>)
|
Associations | xpdf |
Summary | Count the number of characters on a 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.
|
|
Example | put XPDFViewer_CharacterCount("Document1", 3) into theNumberOfChars
|
Values | Name | Type | Description |
---|
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
|
Tags | externals |