Number of copies

Stimulsoft Reports.JS discussion
Post Reply
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Number of copies

Post by jpgb »

Can i change the number of copies of the report before render?

there's a field in the report where i set this, but can i do it programmatically?

thanks
JB
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Number of copies

Post by HighAley »

Hello.

You could change this property with next code:

Code: Select all

report.pages.getByIndex(0).numberOfCopies = 3;
Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Number of copies

Post by jpgb »

Thanks!
JB
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Number of copies

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.
Post Reply