Add empty page to middle of an MDC file?

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

Add empty page to middle of an MDC file?

Post by jayakumargr »

Hi,
Stimulsoft provided the option to add empty page to the end of an MDC file.But i want to add empty page to middle of an MDC file.Please provide the the solution as soon as possible.

Thanks in advance,
Jayakumar
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Add empty page to middle of an MDC file?

Post by Ivan »

Hello,
jayakumargr wrote:Stimulsoft provided the option to add empty page to the end of an MDC file.But i want to add empty page to middle of an MDC file.Please provide the the solution as soon as possible.
You can use following code:

Code: Select all

yourReport.RenderedPages.Add(new StiPage(yourReport));
yourReport.RenderedPages.Insert(indexOfNewPage, new StiPage(yourReport));
yourReport.RenderedPages.RemoveAt(indexOfPage);
Thank you.
Post Reply