EngineRenderMode

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

EngineRenderMode

Previous pageReturn to chapter overviewNext page

VPE v4.0 introduced a new platform independent rendering engine, which works identical on Windows as well as on Mac OS X, Linux, Solaris and all other platforms. Due to the new rendering engine, text strings are computed a bit wider and a bit less in height than in v3.x. So in very rare cases it can happen that word breaks occur on different positions than in v3.x, which means that text objects might require more width than before, but also less height. For this reason we implemented a property, so you can switch back to the original rendering engine. This can be achieved by setting EngineRenderMode = VENGINE_RENDER_MODE_VER3. This is useful to adapt your existing code to this new version of VPE. But the old rendering engine is only available on Windows. Therefore, for platform independence, it is strongly recommended to use the new rendering engine. It is also likely that the old rendering engine will be removed in a future version of VPE (in several years).

property EngineRenderMode [integer] VPE. EngineRenderMode

read / write; runtime only

Possible Values:

the renderer mode

ActiveX / VCL

Value

Enum

Description

VENGINE_RENDER_MODE_VER3

0

Ver3

VPE Renders Text compatible to Version 3.xx

VENGINE_RENDER_MODE_VER4

1

Ver4

VPE Renders Text compatible to Version 4.00 and higher

Remarks:

Reading an old v3.xx VPE document file will turn VPE into VER3 Mode for the whole document!