I am migrating vb 6 application with Imageman to .Net application. So, I initially I tried with the trial version of Imageman .Net, before purchasing it. I am not getting equivalent code for the following with Imageman.Net: pobjImageControl.Compression = ImvbLib.enumCompression.Group4.
Also, ImageControl.hDIB is throwing the error: 'hDIB' is not a member of 'DTI.ImageMan.Winforms.Viewer'. (ImageControl is the name of the control, the same in vb6 is a imageman control). Any help will be thankful.
As you have noticed the interface for the ImageMan.Net components is very different than the ActiveX controls.
To save an image using TIFF and Group4 you will need to create a TifEncoder and set its Compression property to Group4\, then use that encoder to save the image like in this code:
Dim tifAs TifEncoder = New TifEncoder()
tif.Compression = Group4
The ImImage object has an hDIB property which returns the hDIB for that image.
You can access the complete online help at: http://www.data-tech.com/help/imnet/webframe.html
The How To section should cover most of the things you will need to do.
Thanks for your interest in our products and please let us know if you have any questions.
Data Techniques Support
This question is closed to new answers.