Hi,
I am just evaluating VPE standard latest release (3.60),
using Delphi 6. When attempting to print past the bottom
margin, a blank line was appearing, which I presume was
the footer.
I don't want the footer, so I attempted to disable the
printing of the footer. I thought that I read that the
recommended way was to use SetDefOutRect. (Also after
each new page). I attempted to do this, but it did not
appear to disable the footer, and did not appear (in debugger)
to alter the bottom margin position at all.
I then attempted to set just the footer value, and this
appears to work OK.
THIS DID NOT WORK :
vpe1.SetDefOutRect(vpe1.nLeftMargin, vpe1.nTopMargin,
vpe1.nRightMargin, vpe1.pageHeight);
THIS DID WORK :
vpe1.nBottomMargin := vpe1.PageHeight;
Questions.
1. Why didn't the SetDefOutRect work?
2. Is my solution satisfactory?
3. Is it possible to just disable the footer?
Regards,
Brian
PS: Very impressed with VPE thus far. Looks exactly like
what I have been wanting - control to the programmer.