XPDFViewer_Open |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | XPDFViewer_Open <viewerName>, <stackWindowId>
|
Associations | xpdf |
Summary | Create a named PDF Viewer associated with a specific stack window.
|
Edition | Business |
Introduced | 1.0.0 |
OS | mac, windows |
Platforms | desktop |
Parameters | Name | Type | Description |
---|
viewerName | | The name of the viewer to use in subsequent commands.
|
stackWindowId | | This is the windowId property of the stack to display
the PDF view on. The parameter is optional or 0 may be passed to enable opening
a PDF to extract text without creating a view on a stack.
|
|
Example | XPDFViewer_Open "Document1", the windowID of this stack
|
Description | The following errors may be thrown by the command:
- XPDF_ERROR:
incorrect number of parameters
- XPDF_ERROR:
PDF viewer with that name exists
|
Tags | externals |