Loading...

GD Viewer error

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

GD Viewer error

Postby bpabmeyer » Mon Sep 20, 2010 3:49 pm

I have a legacy application that I am having an issue with. I won't be able to upgrade it to .NET for a while. I am curious if there is anything I can do about an error I am receiving with the GDViewer version 5.13.5. I am getting a "Can not display image error no: 3", but not for every image. I would assume with a not every image problem that it would have to be something with my code, but if i change the ZoomMode property to ZoomToControl (6) from ZoomWidthControl (3), the image works fine. Although, it does not let me zoom in on a specific section. It only draws a rectangle on the image area with the property set to 6. The only other properties that I have changed from defaults are the ImageAlignment and ImagePosition. I changed both of them to ImageAlignmentTopCenter and ImagePositionTopCenter, respectively. Your help is greatly appreciated. Thanks.
bpabmeyer
 
Posts: 9
Joined: Tue Oct 07, 2008 4:32 pm

Re: GD Viewer error

Postby Loïc » Mon Sep 20, 2010 4:03 pm

Hi,

This error means the components was not able to allocate enough memory during the rendering process.

So you should first check that your app has no memory leak. In GdPicture.NET we introduced a fully new memory management which is more efficient the the one used in GdPciture ActiveX.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests