Loading another image into BiDisp control

  Imaging Toolkit

Question:
I’ve got an application that scans a page and displays the image in the BiDisp ocx control. The problem I’m having is when I scan another image I can’t load the new image. The control still displays the old image. Is there a way to reset the control so that it can accept a new image?

Solution:
You will need to remove the existing DIB, assign the new DIB to the display control, and then refresh the display control using the Refresh Method. You can refer to the sample applications included with the toolkit for sample code

Regards,
Technical Support Team