User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 422,819 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,309 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 8802 | Replies: 3
Reply
Join Date: Feb 2006
Posts: 2
Reputation: RAHUL JOSHI is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
RAHUL JOSHI RAHUL JOSHI is offline Offline
Newbie Poster

Image in DataGridView

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: Idaho
Posts: 44
Reputation: Godfear1 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
Godfear1's Avatar
Godfear1 Godfear1 is offline Offline
Light Poster

Re: Image in DataGridView

  #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  
Join Date: Aug 2005
Posts: 4,782
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 319
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: Image in DataGridView

  #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.
I'm not a programmer. My attitude starts with ignorance, holds steady at conversation, and ends with a trip to the hospital. Get used to it.
Reply With Quote  
Join Date: Feb 2006
Posts: 2
Reputation: RAHUL JOSHI is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
RAHUL JOSHI RAHUL JOSHI is offline Offline
Newbie Poster

Re: Image in DataGridView

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 10:27 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC