ReadDoc

<< Click to Display Table of Contents >>

Navigation:  Management >

ReadDoc

Previous pageReturn to chapter overviewNext page

Reads a VPE or VPE-XML document from the file named <FileName> and appends it to the current document (this even works, if the current document was opened using a Swap File, e.g. it is itself a file!)

The document file may have been created before with OpenDoc() using a Swap File or WriteDoc().

method boolean VPE.ReadDoc(

string FileName

)

string FileName

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 ReadDoc(). Use OpenDoc() with a Swap File 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.