Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Page Margins of a Report

edited June 2003 in General
Hi,

We have application that has a custom print setting dialog if which one of
the options is page margins. How do apply the page margins from the custom
print settings to the report template?

We have tried something like the following but it didn't work. Sorry the
syntax is far correct but the code is at work and the newsgroup connection
is at home. Anyway I'm sure you get the idea.

ppReport1.PrinterSetup.Page.Margins.Top = FTopMargin
ppReport1.PrinterSetup.Page.Margins.Top = FTopBottom

Should I use a template event like OnLoadEnd?

Thanks
Stuart

Comments

This discussion has been closed.