VPE Document Files

<< Click to Display Table of Contents >>

Navigation:  Programming Techniques >

VPE Document Files

Previous pageReturn to chapter overviewNext page

VPE has its own native document file format for reading and writing VPE document files from / to disk or memory streams.

VPE document files can either be created by the user, when he/she clicks on the “Save” toolbar button in the preview, or programmatically by calling the method WriteDoc().

VPE document files can be read into memory either by the user, when he/she clicks on the “Open” toolbar button in the preview, or programmatically by calling the method ReadDoc().

 

VPE Document Files in Short:

The suffix for VPE document files is ".vpe".

The maximum size of a VPE document file is 2 ^ 63 bytes.

VPE document files are written by default compressed, using Flate compression (Zlib).
(Note: the Community Edition does not support compression.)

VPE document files are platform independent. They can be transparently read and written on Little Endian as well as on Big Endian machines and on 32-bit platforms as well as on 64-bit platforms. Also the embedded file names of referenced pictures are translated to the specific platform (i.e. correct slash and backslash handling). However, since Windows is case insensitive for file names, special care must be taken that you provide the file names for documents and pictures in the correct case sensitive way on all platforms!

You can use VPE document files for archive purposes, the format is guaranteed to be upward compatible to new versions of VPE.  But VPE document files can not be seen like PDF/A files, because VPE does not embed fonts into VPE document files, nor color profiles.

If you created documents with the trial-version of VPE, they will have set a flag, so if you open such a document, the demo banner will be shown, even if you are using the licensed engine.