DevGuideSampleCode
Contains a complete copy of all sample code found on the Global 360 Imaging
for Windows release media. Note that this sample code is write protected.
Before you can edit any of the projects included, you will need to unselect
the "Read Only" attribute/property for all of the files in that
project.
ImgAutomationDemo
Demonstrates how to:
Instantiate the Imaging application and viewer objects, via automation.
Size and display an image file in the viewer object. Close the application
and viewer object, releasing all resources used.
ImgClipboardOCR
Demonstrates how to:
Workaround a known defect in the ImgOCR control. The ImgOCR control does
not perform correctly when OCRing a multipage TIFF file to the clipboard.
After OCRing a multipage TIFF file to the clipboard, only the last page of
TIFF/OCR data is retained/available. To workaround this problem, convert
the file to be OCRed into single page TIFF files, then perform the OCR
operation one page at a time, on the single page TIFF files.
FlowImageToDB
Demonstrates how to:
Use a flow to catalog scanned images in a Access Database by monitoring an
input folder and spawning an executable every time an image is written.
Flow passes the filename and path as command line arguments to the
executable, the executable writes these values to the Access Database.
ImgRenameImages
Demonstrates how to:
Display a blank image and an image file in an ImgEdit control. Perform
basic file manipulation by erasing and renaming local image files.
ImgShowAnnoType
Demonstrates how to:
Determine the type of the currently selected annotation mark by using the
value passed in the MarkType parameter of the MarkSelect event of the
ImgEdit control.
ImgUndoLevels
Demonstrates how to:
Use the UndoLevels property of the ImgEdit control to undo an image
modification. Avoid a potential memory leak in you applications, caused by
failing to clear the UndoLevels property of the ImgEdit control before
unloading a form containing this control.
|