Editions
Related Functions
Example
The IN_ImportPage function adds a file as a new page in the specified document window.
Syntax
int IN_ImportPage( docwinID, pageNumber, relPosition, parentID, location, pFileName, pPageID )
|
Input Parameters |
Values |
Meaning |
|
IN_DOCWIN docwinID |
0 | docwinID |
active | specific |
|
SHORT pageNumber |
1 | 2 |…| last page |
number of the benchmark page |
|
SHORT relPosition |
IN_NEWPAGE_* BEFORE (0) before pageNumber AFTER (1) after pageNumber BEGIN (2) insert the page at the beginning END (3) insert the page at the end. | |
|
|
If you place a page at the beginning or at the end, you must supply the parentID. | |
|
IN_OBJECT parentID |
0 same parent as pageNumber pageID embedded in this page | |
|
SHORT location |
IN_LOCN_DISK (0) |
the file is located on a disk |
|
CHARPTR pFileName |
pointer to the page file to import | |
|
Values |
Meaning | |
|
IN_PAGE_PTR pPageID |
0 | pageID |
current | specific |
Remarks
The first time you call IN_ImportPage after calling IN_CreateDocumentWindow, the existing blank page in the new document window is replaced by the newly imported page.
Release information
Added to Imagenation for Windows in Release 4.10.
As of Release 5.1, also available in Imagenation for UNIX.
Also supported in Imagenation 3.3 for UNIX.
See also