VintaSoft Imaging .NET SDK and Plug-ins Discussions

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Windows XP -TiffPage - GetImage() - IndexOutOfRangeException



Windows XP -TiffPage - GetImage() - IndexOutOfRangeException

Post by dvonfeldt »

When calling the TiffPage.GetImage() method I am getting an IndexOutOfRangeException. When I run the exact same code on my development box, which is running Windows 7 I do not get this error.
            For intPageNumber As Integer = 0 To m_oDentalXRayInMemoryTiffImage.Pages.Count - 1

                Try
                    avImage.Images.Add(m_oDentalXRayInMemoryTiffImage.Pages(intPageNumber).GetImage)
                    tvImages.Images.Add(m_oDentalXRayInMemoryTiffImage.Pages(intPageNumber).GetImage)
                Catch ex As Exception
                    MessageBox.Show("GetImage() --> " & ex.ToString)
                End Try


                Dim strThumbnailCaption As String = GetThumbnailCaption(intPageNumber)

                tvImages.Images(intPageNumber).Tag = strThumbnailCaption
                avImage.Images(intPageNumber).Tag = strThumbnailCaption

            Next


Re: Windows XP -TiffPage - GetImage() - IndexOutOfRangeException

Post by Alex »

Hello,

Please try to use the latest version (4.0.5.1) of VintaSoftImaging.NET SDK and let me know results.

Best regards, Alexander


Page 1 from 1: 1