PC Review


Reply
Thread Tools Rate Thread

C#.net : Print issue

 
 
Pioneer
Guest
Posts: n/a
 
      19th Oct 2008
Hi,
I got to print a Windows form, which span across 2-3 pages.

This form is output of C# program.

How to do this in C#?

The solutions I got till now, were all pointing to taking a
screenprint programmatically and then printing it.

this would not work in my case.

Could you point to me to appropriate solution?

Thanks
Pioneer
 
Reply With Quote
 
 
 
 
Göran Andersson
Guest
Posts: n/a
 
      19th Oct 2008
Pioneer wrote:
> Hi,
> I got to print a Windows form, which span across 2-3 pages.
>
> This form is output of C# program.
>
> How to do this in C#?
>
> The solutions I got till now, were all pointing to taking a
> screenprint programmatically and then printing it.
>
> this would not work in my case.
>
> Could you point to me to appropriate solution?
>
> Thanks
> Pioneer


If you want to print the form, you use the DrawToBitmap method to draw
the form on a Bitmap object, which you then can print parts of.

If you want to put the contents of the form onto printed pages, you do
just that. Get the values you want from the form and draw them using the
graphics object that is provided for printing.

--
Göran Andersson
_____
http://www.guffa.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print issue with print dialogue Ian Microsoft Access 0 8th Nov 2007 04:48 PM
Print Issue iahusker@gmail.com Microsoft Powerpoint 5 20th Sep 2007 04:44 PM
Margin issue in print layout and print preview =?Utf-8?B?S3Jpc3Rp?= Microsoft Word Document Management 1 23rd Mar 2007 06:33 PM
print issue =?Utf-8?B?dA==?= Microsoft C# .NET 0 21st Feb 2007 08:58 PM
Print Issue and Saving Issue hce Microsoft Excel Misc 1 5th May 2004 02:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:43 AM.