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

Setting page margin in the RAP

edited July 2004 in RAP
Hi,

How to set the maring in the RAP, I tried put following code in the
Report.BeforePrint event with no success:

Report.TopMargin := 0.5; //Inch
Report.Page.TopMargin := 0.5; // Inch

both won't compile.

William

Comments

  • edited July 2004
    Got it.

    William

  • edited July 2004
    Hi,

    Which place is good for puting the following code:

    Report.PrinterSetup.MarginTop := Parameters['TopMargin'];

    Report.PrinterSetup.MarginBottom := Parameters['BottomMargin'];

    In the Report.BeforePrint event?



    William


  • edited July 2004

    Try it, I think that will work....


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.