Scanner ActiveX Control

Methods


Public Method ApplyChange       

update the image to image buffer.

Public Method BarCodeGetScore        

(For Barcode Reader plugin only) Return sureness value of decoding.

Public Method BarCodeGetType        

(For Barcode Reader plugin only) Return the 1D and 2D barcode type.

Public Method BarCodeGetValue       

(For Barcode Reader plugin only) Return decoded value.

Public Method BarCodeReadByZone       

(For Barcode Reader plugin only) Set specific zone for 1D and 2D barcode recognizing.

Public Method BarCodeReadFullPage      

(For Barcode Reader plugin only) Set full page for 1D and 2D barcode recognizing.

Public Method BarCodeReadPDFClose      

(For Barcode Reader plugin only) Close the pdf file.

Public Method BarCodeReadPDFImageCount      

(For Barcode Reader plugin only) Get the total count of image for specific page of PDF file.

Public Method BarCodeReadPDFOpen      

(For Barcode Reader plugin only) Open PDF for advanced Barcode recognition.

Public Method BarCodeReadPDFScan      

(For Barcode Reader plugin only) Start to scanning barcode of PDF for advanced Barcode recognition.

Public Method BlankPageGetConfidence

Get the confidence value of current page.

Public Method BlankPageIsBlank

Return true if the current page is blank page (depend on confidence value ).

Public Method Copy2Clipboard

Copy the image to window clipboard.

Public Method Copy2HBITMAP

Copy the image and return HBITMAP handle.

Public Method Copy2PictureBox

Copy the image and return VB Picture object.

Public Method DirectMergePDF

Merge all scanned pages to multipage PDF file when use direct Scan mode.

Public Method DirectMergeTIF

Merge all scanned pages to multipage TIF file when use direct Scan mode.

Public Method DirectScanInit

Initialize the direct Scan mode.

Public Method DirectScanClearAllPages

Clear all scanned pages when use direct Scan mode.

Public Method DeleteAllPages

Delete all scanned pages.

Public Method DeletePage

Delete specific scanned page.

Public Method DrawText

Draw the text on scanned Image.

Public Method GetActivePageNo

Return the current page number in image buffer.

Public Method GetCaptureArea

Get the current default capture area of scanner.

Public Method GetHorzScrollBarPos

Return the current position of horizontal scroll bar.

Public Method GetImageSourceName

Get the specific index of image source name.

Public Method GetNumImageSources

Get the total number of image source.

Public Method GetVertScrollBarPos

Return the current position of vertical  scroll bar.

Public Method LoadImage

(Load a PDF file, need  Advanced PDF Viewer plugin) Load bmp, jpg, png, gif, multi-page TIFF file, PDF file from hard drive.

Public Method OCR2SearchableMutlipagePDF

(For OCR plugin only) Convert all pages from image buffer to Searchable Multipage PDF/A file. 

Public Method OCRGetRecognizedCharBottom

(For OCR plugin only) Return the bottom position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharCode

(For OCR plugin only) Return the ACSII code of one of the characters recognized.

Public Method OCRGetRecognizedCharConfidence

(For OCR plugin only) Return the confidence of one of the characters recognized.

Public Method OCRGetRecognizedCharCount

(For OCR plugin only) Return the number of characters recognized.

Public Method OCRGetRecognizedCharLeft

(For OCR plugin only) Return the left position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharLine

(For OCR plugin only) Return the line position of one of the characters recognized.

Public Method OCRGetRecognizedCharRight

(For OCR plugin only) Return the right position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharSpaces

(For OCR plugin only) Return the number of spaces detected before a character recognized.

Public Method OCRGetRecognizedCharTop

(For OCR plugin only) Return the number of spaces detected before a character recognized.

Public Method OCRGetRecognizedText

(For OCR plugin only) Return the recognized text.

Public Method OCRIsRecognizing

(For OCR plugin only) Return the recognizing status.

Public Method OCRSaveRecognizedText

(For OCR plugin only) Save the recognized text to text file.

Public Method OCRSetRect

(For OCR plugin only) Set the specific zone for recognizing.

Public Method OCRStartScan

(For OCR plugin only) Start a recognition process.

Public Method OCRStopScan

(For OCR plugin only) Stop a recognition process.

Public Method PrintImage

Print the scanned image to user select printer or default printer.

Public Method PrintImage2Printer

Print the image to specific printer, the printer dialog will not display.

Public Method PrintImageBySize

Print the image to specific width and height and print to user select printer or default printer.

Public Method PrintImageBySize2Printer

Print the image to specific width and height and print to specific printer.

Public Method Redraw

Redraw the scanned image.

Public Method RotateAt

Rotate specific degree of image.

Public Method Rotate

advanced rotate image.

Public Method Rotate90

Rotate 90 degree of image.

Public Method Rotate180

Rotate 180 degree of image.

Public Method Rotate270

Rotate 270 degree of image.

Public Method Save

Save the current view image to other image format and pdf format. If you rotate the image in display area and save to other format. The new image file will rotate the image.

Public Method SaveAllPage2Docx

Save all pages from image buffer to multipage Microsoft Word (.docx) File. 

Public Method SaveAllPage2PDF

Save all pages from image buffer to multipage pdf.

Public Method SaveAllPage2TIF

Save all pages from image buffer to multipage tif.

Public Method SaveBySize

Save the current view image to another image format and pdf format and resize the image resolution.

Public Method Scan 

Start scanning the image.

Public Method SelectImageSource 

Show all available TWAIN compatible devices on the system.

Public Method SelectImageSourceByIndex 

Select specific index of image source.

Public Method SetActivePageNo

Set the active page in image buffer.

Public Method SetBackgroundColor

Set the background color of display area.

Public Method SetCaptureArea

Set the capture area of scanner.

Public Method SetHashBrushValue

Set the hash brush value when textstyle = 3.

Public Method SetOutlineTextBackColor

Set the outline text back color when textstyle = 2.

Public Method SetOutlineTextBorderColor

Set the outline text border color when textstyle = 2.

Public Method SetPrintText 

Add text to an image when print.

Public Method SetScrollBarPos

Set the scroll bar position to specifies location.

Public Method SetTextureBrushImage

Set the texture brush image when textstyle =4 .

Public Method WriteBinary

Write binary data types for storage of images embedded in the database table.