Show and Export part of document

Stimulsoft Reports.WPF discussion
Post Reply
Niqu
Posts: 81
Joined: Wed Aug 08, 2012 9:08 am

Show and Export part of document

Post by Niqu »

Hello,

Is it possible to do show or export part of document ?
What I mean is, for example if we want to print some part of document, we can you method:

Code: Select all

StiReport.Print(int fromPage, int toPage, short copies)
Is it possible to get similar method for show and export?
For example method like:

Code: Select all

StiReport.Show(int fromPage, int toPage)
StiReport.ShowWithWpf(int fromPage, int toPage)
StiReport.Export(int fromPage, int toPage, StiExportFormat exportFormat, string file)
Thank
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Show and Export part of document

Post by Alex K. »

Hello,

For showing report you can take the rendered report and copy only the necessary pages in the new report and then show it.
For export you can use the StiPdfExportSettings and PageRange property in it.

Thank you.
Niqu
Posts: 81
Joined: Wed Aug 08, 2012 9:08 am

Re: Show and Export part of document

Post by Niqu »

Thank you for advice. I checked it and it seems to work for me.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Show and Export part of document

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.
Post Reply