Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView
Print PictureBox with DataGridView Print PictureBox with DataGridView
Print PictureBox with DataGridView
Go Back  Xtreme Visual Basic Talk > > > Print PictureBox with DataGridView


Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2012, 10:58 AM
Revel20 Revel20 is offline
Newcomer
 
Join Date: Sep 2009
Posts: 14
Default Print PictureBox with DataGridView


Hi, I'm trying to print the image that is being displayed in a PictureBox, and right next to it (paper should be set to landscape), I want to print the contents of a dynamically filled in DataGridView table.

Any ideas on how to do this??
Thanks in advance!
Reply With Quote
  #2  
Old 02-24-2012, 02:13 PM
celtic celtic is offline
Centurion
 
Join Date: Mar 2009
Posts: 132
Default

Hi Revel20.

I was checking around graphics stuff for something similar to your request except mine only had to be a 'screenshot'.

This link has a code example that might help.

http://social.msdn.microsoft.com/for...-76ab8d5ff729/

You would first have to save the image and data in separate files then load them for printing.
Reply With Quote
  #3  
Old 02-25-2012, 05:29 PM
Revel20 Revel20 is offline
Newcomer
 
Join Date: Sep 2009
Posts: 14
Default

Perfect, I had to apply some changes to the sample code there, but all in all, great!

Thanks celtic!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView Print PictureBox with DataGridView
Print PictureBox with DataGridView
Print PictureBox with DataGridView
 
Print PictureBox with DataGridView
Print PictureBox with DataGridView
 
-->