Hi scott before answering your question i would assume few things. i.e, you want to display a tiff image in your application and as tiff images are multi page images you may want to allow the user to navigate through all the pages
1)
To use tiff in VB you can use Wang Image Control which will be installed when you install VB. Wang image control is actually a group of controls and you need to use only Wang Image Edit control among them.
now to display a tiff image you can use Image property and Display method.
Eg.
ImgEdit1.Image="C:\Test.tif"
after setting the image now you should call display method to display the image
ImgEdit1.Display
2)
To allow the user to navigate through pages you can use PageCount and Page properties and after setting the page number you should call Display method again
Eg.
MsgBox ImgEdit1.PageCount
this will display the number of pages in the image.
To display the 3rd page of the image
ImgEdit1.Page = 3
ImgEdit1.Display
for more information refer the online help of Wang Image Edit Controls
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.