I'm looking for a way to edit what's being displayed/printed in the UltraPrintDocument control. We have very limited information showing there right now (one line/title only) and we want to be able to add as much details as possible. Is there a way to do that and if possible format the texts in there - e.g., 1st line is size 14 and bold, 2nd is underlined, etc..
I was asking if there is something in one of the visual designer's Appearance properties but that will do what I want.
Thanks
Murat
Hello Murat,
You could place an image everywhere you want, using a code like the following:
private void ultraPrintDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { e.Graphics.DrawImage(SystemIcons.Asterisk.ToBitmap(), new Point(20, 20)); }
Please feel free to let me know if I misunderstood you or if you have any other questions.
How can I add a logo to the header/footer?
Hello y2kdis,
You could read about customizing the document being printed at the following link:
http://help.infragistics.com/NetAdvantage/WinForms/2011.1/CLR2.0/?page=WinPrintDocument_Using_WinPrintDocument.html
You could show text/page numbers in the header and/or footer sections. You also could draw geometric shapes like rectangles, polygons and so on.
Please do not hesitate to contact us if you need any additional assistance.