Hello,
I would like to know if a page was printed or exported. With the IsPrinted property of the StiPage class, I know if a page was printed or not. But, is it possible to know if the page was exported or not ?
Cordially,
Kakone.
Page.IsExported
Page.IsExported
You can subscribe to the following events for deciding were exporting of the Page or not:
Report.Exporting - occurs during the exporting process.
Report.Exported - occurs after the export is finished.
In the build from November, 6 we've added a new IsExporting property to StiPage. This property could be used to control whether the page is being exported or not.
Also you can use the following static events:
StiOptions.Engine.GlobalEvents.ReportExported
StiOptions.Engine.GlobalEvents.ReportExporting
Thank you.
Report.Exporting - occurs during the exporting process.
Report.Exported - occurs after the export is finished.
In the build from November, 6 we've added a new IsExporting property to StiPage. This property could be used to control whether the page is being exported or not.
Also you can use the following static events:
StiOptions.Engine.GlobalEvents.ReportExported
StiOptions.Engine.GlobalEvents.ReportExporting
Thank you.
Page.IsExported
Hello,
I'm not agree with the IsExporting property of the StiPage. When the user clicks on the export button, the property IsExporting is set to true for all pages of the report even the user will print one or a few pages.
I would like to know (if it's possible) which pages was really exported.
Cordially,
Kakone.
I'm not agree with the IsExporting property of the StiPage. When the user clicks on the export button, the property IsExporting is set to true for all pages of the report even the user will print one or a few pages.
I would like to know (if it's possible) which pages was really exported.
Cordially,
Kakone.
Page.IsExported
The reason of the such a behavior when exporting is processed, lies in the fact that Printing is done in one pass but while Export is processed, then at least 2 passes will be done, sometimes even more. Exporting is much more complicated process.
Thank you.
Thank you.