set default margins

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

set default margins

Postby IDEAL Software Support » Thu Nov 18, 2004 8:01 pm

I'm trying to set the default-margins with
'SetDefOutRect(LeftMargin, TopMargin, RightMargin, BottomMargin)'
without success.
No problem to change the margins of a specific page with nTopMargin.
Can someone help? thanks!
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Thu Nov 18, 2004 8:02 pm

SetDefOutRect() is only in effect for newly created pages. This is especially useful to have different margins for pages generated by the AutoBreak feature.

To change the margins for the current *and* all newly created pages, use SetOutRect().

Regards
Thorsten Radde
IDEAL Software GmbH
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 35 guests

cron