<< Click to Display Table of Contents >> VpeReadDoc |
Reads a VPE or VPE-XML document from the file named <file-name> and appends it to the current document (this even works, if the current document was opened by VpeOpenDocFile(), e.g. it is itself a file!)
The document file must have been created before with VpeOpenDocFile() or VpeWriteDoc().
int VpeReadDoc(
VpeHandle hDoc,
LPCSTR file_name
)
VpeHandle hDoc
Document Handle
LPCSTR file_name
the path and filename
Returns:
Value |
Description |
True |
Success |
False |
Failure |
Remarks:
In case of an error, LastError is set.
Tip: If you want to preview or print an already created VPE-Document file, DON’T USE VpeReadDoc(). Use OpenDocFile() instead. This guarantees minimum memory usage with the same performance. (Believe us, our high-performance swapping technology is really FAST.)
This method can not import PDF or any other document files, except VPE and VPE-XML document files.