error export to pdf

17 replies. Last post: October 21, 2013 10:57 PM by Bernard Xiang
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

When we do export the webscheduler with the following code:

ISNet.WebUI.WebScheduler.Report.WebSchedulerReportInfo info = new ISNet.WebUI.WebScheduler.Report.WebSchedulerReportInfo();
info.FileName = "WebSchedulerToPdf.pdf";
this._eventsScheduler.ViewSettings.SelectedViewMode = WebSchedulerViewMode.Month;
this._eventsScheduler.ExportScheduler(info);

we get the error:

Specified argument was out of the range of valid values.

Parameter name: value

Stack:

at System.Web.UI.WebControls.FontInfo.set_Size(FontUnit value)
at .?.?()
at .?.?()
at ..CreateReport()
at ..CreateReport()
at ISNet.WebUI.WebScheduler.Report.WebSchedulerReportHelper.?()
at ISNet.WebUI.WebScheduler.Report.WebSchedulerReportHelper.CreateReport()
at ISNet.WebUI.WebScheduler.WebScheduler.ExportScheduler(WebSchedulerReportInfo ?[1], WebSchedulerReportOutputPathType ?[1])


All times are GMT -5. The time now is 7:06 AM.
Previous Next