Hi,
I am working through the PSF Export tutorial...
https://code.daypilot.org/69614/scheduler-pdf-export-asp-net-c-vb-sql-server
There are two function calls which are not defined in the tutorial...
private void ExportToPng()
{
SetDataSourceAndBind(); // not defined
SetExportProperties(); // not dfined
Response.Clear();
Response.ContentType = "image/png";
Response.AddHeader("content-disposition", "attachment;filename=print.png");
MemoryStream img = DayPilotScheduler1.Export(ImageFormat.Png);
img.WriteTo(Response.OutputStream);
Response.End();
}
Could you please provide the code for these functions?
Thank You