search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

PDF Export Tutorial missing definition of SetDataSourceAndBind and SetExportProperties

Asked by Scott
2 years ago.


I am working through the PSF Export tutorial...

There are two function calls which are not defined in the tutorial...

private void ExportToPng()
SetDataSourceAndBind(); // not defined
SetExportProperties(); // not dfined

Response.ContentType = "image/png";
Response.AddHeader("content-disposition", "attachment;filename=print.png");
MemoryStream img = DayPilotScheduler1.Export(ImageFormat.Png);

Could you please provide the code for these functions?

Thank You

Answer posted by Dan Letecky [DayPilot]
2 years ago.

The tutorial text is now updated to include these methods as well:

You can also find it in the downloadable project - that includes a Visual Studio project with full source that is ready to run.

Please let me know if there is any problem.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.