Hi friends,
My client is having a requirement to display images with various formats in the ASP.NET application. Currently the existing application is using TiffViewer thrid party control which is installed on a server where another application is hosted. So our application needs to call the same ViewImage.aspx page from that server just to display tiff images which contains multiple pages.
I was trying to do some workaround using Image and FrameDimension classes; but I am facing some problems. I was able to find the frame count for tiff image.
I tried to loop using for..next loop and for the first count it works fine; but for the next count it throws an exception saying "Parameter in not valid". I don't know where am I going wrong. It throws an exception from the below statement inside the for..next loop.
imageObject.SelectActiveFrame(oDimension, intFrame);
I think the parameter it is talking about is intFrame. Can anybody please help me in this.
Thanks and Regards.