IImageData empty

May 9, 2012 at 6:34 PM

Hello,

I am using the dll's from the 03/22/2012 version for my app.

The following lines don't seem to populate values such as height, width etc in IImageData:

 IImageData imageData = new ImageData(); 
imageData.Filename = string.Format("{0}\\{1}.jpg", Properties.Settings.Default.ApplicationFilesLocation, fileName);

As a result my image is not being displayed.

 

Instanting the IImageData via a filename in the constructor used to work fine in older versions. What has changed?


Thanks for your help.
VK.

Developer
May 9, 2012 at 8:05 PM

Are you missing a call to 

 Open()?
May 9, 2012 at 9:00 PM

mudnug,

I added the open() and that did not make any difference. Any other suggestions?

Thanks,

VK.