I am trying to convert the current contents of a C# windows form to a pdf document.
I am using the PDFSharp dll to do the conversion, I am not sure of how to capture the windows form and convert it to a PDF. I gather I should use the XGraphics.DrawImage()
method to copy the contents of the windows form.
Any help or suggestions would be appreciated!