Need a Tif annotation tool

MAF

New member
Joined
Sep 11, 2007
Messages
4
Programming Experience
1-3
VB.Net Forums:

Our goal is to be able to easily do annotations (opaque and transparent) to .tif files. It looks as if a quick and easy way to do this is to use the Windows Picture and Fax Viewer. I'm wondering how to insert this application into a .net form. It looks as if C:\Windows\system32\shimgvw.dll is used by the Picture and Fax Viewer but I haven't found a way to get a control to appear to use this.

I'd also like to be able to use this control in a VB6 application.

Does anyone know how to get this to be usable in .net or VB6? Can anyone recommend a truly good annotation tool which can be used by VB6 and .net 2005 that is also economical?

Thanks in advance,

MAF
 
The Image Viewer can't edit afaik. It's easy to write text on images with .Net., something like this:
VB.NET:
Dim img As Image = Image.FromFile("thefile.tif")
Dim g As Graphics = Graphics.FromImage(img)
g.DrawString("hello", Me.Font, Brushes.Red, 0, 0)
g.Dispose()
img.Save("newfile.tif", Imaging.ImageFormat.Tiff)
I think MSDN have an article about how to use a .Net class library with old VB, try search for it.
 
Back
Top