Hello:
I'm using Infragistics 2015 for WinForms.
Can you direct me to any examples / samples to creating a PDF in code?
I see examples for exporting from an UltraGrid and samples for ASP but none of those are for just creating a PDF in code.
For context, I am fetching data from a database then attempting to create a 'form letter' that can be saved to disk as a PDF. The PDF is several ages of text pictures, all generated in code.
Thank you in advance for any pointers.
-Robert
Hi Robert,
Please check the DocumentExporterGallery sample under Legacy\Document\CS samples. You can refer to this sample for creating a PDF through code. Please let me know if you need any further assistance.
Sincerely,
Sahaja Kokkalagadda
Associate Software Developer, Windows Forms
http://ko.infragistics.com/
Sahaja:
That is for exporting which isn't what I'm trying to do.
Thank you anyway.
Even though the name of the sample says Exporter, there is code to actually create reports in different formats, out of which pdf is also one format. Please go through the private methods in Main.cs for sample code on how to create PDF reports through code.
Please let us know if you have any questions.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer, Windows Formshttp://ko.infragistics.com/