Comment posted by Bbq
14 years ago.
I would like to know too because this is a feature i would like to implement
Comment posted by Mark Lyons
14 years ago.
Ok, I figured this out on my own....
Make sure you have these namespaces:
System.Data
System.IO
System.Drawing.Image
Then add a button and insert this sub....
Protected Sub ButtonExport_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Response.AddHeader("content-disposition", "attachment;filename=print.png")
Dim ms As New MemoryStream
Response.Clear()
Response.ContentType = "image/png"
Response.AddHeader("content-disposition", "attachment;filename=print.png")
ms = DayPilotScheduler1.Export(Drawing.Imaging.ImageFormat.Png)
ms.WriteTo(Response.OutputStream)
Response.End()
End Sub