It is in my own application I need to catch the printdocument before it outputs to the printer and get an image of it. Effectivly a bitmap. like printtoimage or something
Martin Beukes
Posts
-
PrintDocument -
PrintDocumentAlmost funny. By printdocument i mean
System.Drawing.Printing.PrintDocument
-
PrintDocumentHi, Does anyone know of a way to get an image of a print document and save it to a bitmap file? It is even possible?
-
Printing multiple pages per sheetI have a vb.net that generates a print document with multiple A5 pages. i need to be able to pring two pages per sheet on A4 paper. I am unable to find a property for this in
PrintDocument.DefaultPageSettings
or anywhere in thePrintDialog
settings. Does anyone know a way of acheiving this. Regards, Martin -
using the contol.paint eventawesome. thanks. would help a ton
-
using the contol.paint eventOk, I have 2 RTB with diffent contents I need to print these two RTBs contents on a single page My plan is to use the GDI to an image of each RTB and then cmbine and print them. Now the problem. more tha half my users will be on those godaweful netbooks with a screen resolution of 1024x6 and an A4 page and the my two RTBs is 1045x718 plus margins. So the problem is that i need to capture the whole control and not just what is onscreen.
-
using the contol.paint eventHi Luc, It is almost af if you can read minds. It is a richtextbox that i need an image of. There is no
Control.DrawToBitmap()
on the control and i have looked pretty much everywhere. I came accross this article [Here] which gave me the idea but none of the execution. If you know of any way to get an image of a RichTextBox without using a screen capture, it would be much appreciated. -
using the contol.paint eventHi, I am wondering if anyone coul help. I need use the paint event of a control to retun an image of that control. I dont even know where to start. Regards, Martin