944,147 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 29481
  • C# RSS
Nov 17th, 2006
0

Image in DataGridView

Expand 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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RAHUL JOSHI is offline Offline
2 posts
since Mar 2006
Nov 18th, 2006
0

Re: Image in DataGridView

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?
Reputation Points: 12
Solved Threads: 3
Unverified User
Godfear1 is offline Offline
46 posts
since Oct 2006
Nov 18th, 2006
0

Re: Image in DataGridView

Click to Expand / Collapse  Quote originally posted by Godfear1 ...
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.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Nov 20th, 2006
0

Re: Image in DataGridView

Click to Expand / Collapse  Quote originally posted by Godfear1 ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RAHUL JOSHI is offline Offline
2 posts
since Mar 2006
Aug 4th, 2009
0

Re: Image in DataGridView

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
qauaan is offline Offline
12 posts
since May 2009
Nov 3rd, 2009
0

Display different images in datagridview

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
s_nageswararao is offline Offline
1 posts
since Nov 2009
Jul 28th, 2010
0
Re: Image in DataGridView
select stretch property in DatagridViewImageColumn
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Padma Prajapati is offline Offline
1 posts
since Jul 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Has anyone tried Visual Studio 2010 yet?
Next Thread in C# Forum Timeline: How do i read from lines in a notepad to each and individual textbox.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC