Image in DataGridView

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2006
Posts: 2
Reputation: RAHUL JOSHI is an unknown quantity at this point 
Solved Threads: 0
RAHUL JOSHI RAHUL JOSHI is offline Offline
Newbie Poster

Image in DataGridView

 
0
  #1
Nov 17th, 2006
Hi All,
I am Working in C#.Net Technology (Window Based Application).My Problem is that ,I Want to display a Image in DataGridView cell.Iam able to display different Images In different cell of particular Column,But my problem is that Iam getting the image of a Exact Size.What I wan is to Scale a Image so that Whole Iamge is Visible In a Small Size not a Part Of it.
Can any body guide me .

Rahul Joshi
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 46
Reputation: Godfear1 is an unknown quantity at this point 
Solved Threads: 3
Godfear1's Avatar
Godfear1 Godfear1 is offline Offline
Unverified User

Re: Image in DataGridView

 
0
  #2
Nov 18th, 2006
What are you using to view the image? If it is a PictureViewer object then just set the sizeMode property of the image to Zoom. Then resize the PictureViewer to whaterver size you want. I'm not sure what your using to view the image though. Is it an excel spreadsheet? Access?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Image in DataGridView

 
0
  #3
Nov 18th, 2006
Originally Posted by Godfear1 View Post
What are you using to view the image? If it is a PictureViewer object then just set the sizeMode property of the image to Zoom. Then resize the PictureViewer to whaterver size you want. I'm not sure what your using to view the image though. Is it an excel spreadsheet? Access?

I think he wants his image to auto-scale to fit his column in his window application.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 2
Reputation: RAHUL JOSHI is an unknown quantity at this point 
Solved Threads: 0
RAHUL JOSHI RAHUL JOSHI is offline Offline
Newbie Poster

Re: Image in DataGridView

 
0
  #4
Nov 20th, 2006
Originally Posted by Godfear1 View Post
What are you using to view the image? If it is a PictureViewer object then just set the sizeMode property of the image to Zoom. Then resize the PictureViewer to whaterver size you want. I'm not sure what your using to view the image though. Is it an excel spreadsheet? Access?
Hi GodFear,

Firstly thanks for replying.
Dear iam using DatagridViewImageColumn to show a Image in a cell.
Problem is it is not showing full image ,it s just showing the part of it image.What i want to show full Image.

Waiting for ur Reply.

Rahul Joshi
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 11
Reputation: qauaan is an unknown quantity at this point 
Solved Threads: 0
qauaan qauaan is offline Offline
Newbie Poster

Re: Image in DataGridView

 
0
  #5
Aug 4th, 2009
Originally Posted by RAHUL JOSHI View Post
Hi All,
I am Working in C#.Net Technology (Window Based Application).My Problem is that ,I Want to display a Image in DataGridView cell.Iam able to display different Images In different cell of particular Column,But my problem is that Iam getting the image of a Exact Size.What I wan is to Scale a Image so that Whole Iamge is Visible In a Small Size not a Part Of it.
Can any body guide me .

Rahul Joshi
Mr . Rahul i hope u solve the problem. i also have the similar problem. plz tell me how can you handle this problem. i am waiting for your reply.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: s_nageswararao is an unknown quantity at this point 
Solved Threads: 0
s_nageswararao s_nageswararao is offline Offline
Newbie Poster

Display different images in datagridview

 
0
  #6
22 Days Ago
I am working on vb.net,I Want to display a Image in DataGridView cell.Iam unable to display different Images In different cell of particular Column can any body guide me
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC