Setting size of a preview

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Setting size of a preview

Postby Bengt » Mon Mar 16, 2015 4:18 pm

Is it possible to set the size of a preview programatically? It seems as the size depends on the used screen. When I look at a preview, 172 % is shown in the lower left corner. My customer wrote that her preview is magnified to 142 %, but she want it to be just 100 %. How can that be achieved?

/Bengt
Bengt
 
Posts: 89
Joined: Fri Jan 27, 2006 5:29 pm

Re: Setting size of a preview

Postby IDEAL Software Support » Tue Mar 17, 2015 9:36 am

You can specify the zoom factor of the preview using the property "Scale".

You can specify the position and dimensions of the preview window by using the method PreviewDoc(). The coordinates for this method are in pixels.

The zoom factor and the preview dimensions are independent from each other.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 17 guests