VPE View showing Centimeters - needs to be inches

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

VPE View showing Centimeters - needs to be inches

Postby Jimw » Mon Nov 21, 2016 6:11 pm

The document was created with inches and saved as a .VPE document.
But when I open the document with VPE View it shows the ruler in Centimeters.
How do I get VPE View to show inches, or not show the Ruler.
Are there any command line arguments to VPE View?

Thanks,
Jimw
Jimw
 
Posts: 6
Joined: Thu Jul 21, 2016 5:40 pm

Re: VPE View showing Centimeters - needs to be inches

Postby IDEAL Software Support » Tue Nov 22, 2016 9:16 am

The property RulersMeasure is not serialized to VPE document files, therefore VPEView will always show the rulers in cm units.

VPEView has no command line option to turn off the rulers.

We suggest you write your own VPEView, which is only a few lines of code:

If you are using the VPE-DLL, just call VpeOpenDocFile() and provide the file name.

If you are using the VPE-Control (.NET, ActiveX, Delphi VCL, Java), set the property SwapFileName first, then call OpenDoc().
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 7 guests

cron