Set paper source for last page

Stimulsoft Reports.NET discussion
Post Reply
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

Set paper source for last page

Post 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
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Set paper source for last page

Post 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.
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

Set paper source for last page

Post by grazi »

Great!

Thank you for your help!!

cya Grazi
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Set paper source for last page

Post by Edward »

Hi

You are welcome.

Please let us know if you need any help.

Than you.
Post Reply