The uchart.PrintDocument appears to use a System.Drawing.Printing.printdocument not an UltraPrintdocument
An Ultragrid has it's own UltraGridPrintDocument.
Adding Headers and footers to a uchart.PrintDocument would b so much easier if it supported the UltraPrintdocument
Why is there this inconsistency?
Hello Stephen,
Thank you for posting in Infragistics forum.
Unfortunately, UltraChart currently does not have own implementation that derives from UltraPrintDocument.
You can suggest this as a new product ideas for future versions (or vote for existing ones) at <https://ko.infragistics.com/community/ideas>.Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
In the meantime, you can save an image of the chart using UltraChart.SaveTo() and draw that image at UltraPrintDocument PrintPage event for printing.I have created a sample for your reference.
Save a Chart Imagehttps://ko.infragistics.com/help/winforms/chart-save-a-chart-image
Using WinPrintDocumenthttps://ko.infragistics.com/help/winforms/winprintdocument-using-winprintdocument
Please let me know if I may be of further assistance.
8831.WindowsFormsApp1.zip