Page 1 of 1

Set paper source for last page

Posted: Mon Oct 26, 2009 9:27 am
by grazi
Hi there

I need to set the paper source for the LAST page. Page 1 to n - 1 have the same paper source and page n has a different source. Is it possible to do that?

Thank you for your help!

Cya Grazi

Set paper source for last page

Posted: Tue Oct 27, 2009 2:49 am
by Edward
Hi Cya Grazi,

Yes, this is possible.

Please add the following code into the Report.EndRender event handler:

Code: Select all

this.RenderedPages[this.RenderedPages.Count - 1].PaperSourceOfOtherPages = "mypapersource"; 
Thank you.

Set paper source for last page

Posted: Tue Oct 27, 2009 4:43 am
by grazi
Great!

Thank you for your help!!

cya Grazi

Set paper source for last page

Posted: Wed Oct 28, 2009 5:29 am
by Edward
Hi

You are welcome.

Please let us know if you need any help.

Than you.