RDLC Email attached pdf with background pdf template

CenterDCenterD Member Posts: 37
edited 2013-08-14 in NAV Three Tier
As far as I can see, there are 2 possibilities:


To use REPORT.SAVEASPDF() and Mail.NewMessage() in Navision.
This will create an email with receiver and attached pdf, but with no background template on the attached pdf file.
The question here is:
Is there a way to specify a pdf background template for the report inside of visual studio?


To use software like "eDocPrinter PDF Pro"
You will then have to print control lines (%%) in the report.
The question here is:
Is there a way to print these control lines AFTER the ordinary report, without generating page header/footer etc. - as a sort of epilog

Like this:
Page header
lines
footer
%%EmailCc: you@email.dk %%
%%EmailSubject: subject %%
%%DestOverlayPDFTemplatePath: C:\Template.pdf%%

Comments

  • clauslclausl Member Posts: 455
    Why not just add a background image to the report? Note that the background image is not shown where you have your margins. So if it needs to be larger you will need set margins to zero and then create semi margins inside the report layout.

    Background image is added in properties on the Report control.

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sign In or Register to comment.