I am using the ImagXpress 8 .NET control. How do I load the image data into the SmartScan Xpress ICR control?
To copy an image from the ImagXpress 8 .NET control, you can use the ToHdib method of the ImageX class as outlined in the code samples below. The sample code assumes the image data is in 1 bit per pixel format. For C# Developers: PegasusImaging.WinForms.ImagXpress8.ImagXpress ix = new PegasusImaging.WinForms.ImagXpress8.ImagXpress(); PegasusImaging.WinForms.ImagXpress8.ImageX theImageX = PegasusImaging.WinForms.ImagXpress8.ImageX.FromFile(“c:\\Pegasus.tif”); picssxicr1.hDIB = theImageX.ToHdib(false).ToInt32(); For Visual Basic. NET Developers: Dim ix As New PegasusImaging.WinForms.ImagXpress8.ImagXpress() Dim theImageX As PegasusImaging.WinForms.ImagXpress8.ImageX theImageX = PegasusImaging.WinForms.ImagXpress8.ImageX.FromFile(“c:\Pegasus.tif”) Picssxicr1.hDIB = theImageX.ToHdib(False).
Related Questions
- I am using the ImagXpress 8 .NET control. How do I load the image data into the SmartScan Xpress Barcode control?
- I am using the ImagXpress 8 .NET control. How do I load the image data into the SmartScan Xpress ICR control?
- What format does the image need to be in for the SmartScan Xpress ICR/OCR/OMR control to process?