Support Center

Working with DIB Handles

Luke Lanphear Jun 01, 2011 06:25PM EDT

I am trying to use DIB handles to load an image from one control to another. Shouldn't I be able to do this?

var imgMan = ImImage.Load(@".\\Image.TIF");
var anotherImage = new ImImage(imgMan.DibSection);

1 Data Techniques Response

Up 4 Rated Down
DTI Support  Data Techniques Employee Jun 01, 2011 06:44PM EDT

Hi,

Its actually even simpler, just to:

newImage = oldImage.Clone();

The clone method will return a copy of the image you called it on.

John
DTI Support

This question is closed to new answers.

Contact Us