Set Page.NumberOfCopies in an event

Stimulsoft Reports.NET discussion
Post Reply
ChristianGad
Posts: 1
Joined: Wed Nov 18, 2015 4:51 pm

Set Page.NumberOfCopies in an event

Post by ChristianGad »

Hi

I'm trying to get a report to have a page count which can be divided by 4. So it would be a nice booklet with text/logo on the back.

Example
1, Front
2, Content
3, Content
4, Content
5, Blank (inserted automaticly bases on page count)
6, Blank (inserted automaticly bases on page count)
7, Blank (inserted automaticly bases on page count)
8, Back (logo)

How can I insert the blank pages?
I have tried to use and event on the blank page to set NumberOfCopies but I can't get it to work
I have also tried to add 3 blank pages and set a condition on the pages but when it is disabled the last page (Back) disappears.

Thanks
Christian
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Set Page.NumberOfCopies in an event

Post by HighAley »

Hello.

You don't need to add blank page in report template.
Please, try to add an empty Data Band, then set its properties New Page Before to True and Skip First to False. To change number of blank pages you should set the CountData property of the Data band.

Thank you.
Post Reply