TIFF preview

ronin2307

Member
Joined
Mar 10, 2005
Messages
16
Programming Experience
1-3
I would like to include a preview window for TIFF images in my app. If all possible I would like to zoom in on certain details so I can read some infromation off of the image.
Does anybody know any way to do this?
Thanx
 
You can create an image and load the file into that image (one way is to use System.Drawing.Image.FromFile method). Have a picturebox on your form and set the image property to the image you loaded with the tiff file, setting the pictureboxs SizeMode to PictureBoxSizeMode.StretchImage. To zoom in and out, change the size of the picturebox.
 
that won't do it

see the problem is that the files I am trying to open a scanned D-size drawings from Autocad and Solidworks. WHich means the files are huge in dimensions.
so resizing the picturebox won't help because I can't see enough detail on the drawing when it is autostretched. And I am trying to read the so fairly small font.

So ideally I need a component which will let me zoom in on any part of the drawing. Unfortunately I haven't come across one yet.
 
Back
Top