Page 1 of 1

Show and Export part of document

Posted: Fri Feb 14, 2014 8:00 am
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

Re: Show and Export part of document

Posted: Fri Feb 14, 2014 1:27 pm
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.

Re: Show and Export part of document

Posted: Mon Feb 17, 2014 7:55 am
by Niqu
Thank you for advice. I checked it and it seems to work for me.

Re: Show and Export part of document

Posted: Mon Feb 17, 2014 8:10 am
by Alex K.
Hello,

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