The component SCBCroViewer provides methods and properties to display various objects, such as images, text documents, annotations, or OCR and scanning results.
This object provides the following methods.
This method removes the selection object from the viewer.
The SCBCroImage object provides the following type definitions.
The component SCBCroImage provides methods and properties to load, modify, and save image files.
This method converts document coordinates into viewer coordinates.
This method converts viewer coordinates into document coordinates.
This method displays the selected area in the viewer.
This method makes a rectangle with a defined distance to the border visible.
This method refreshes the contents of the viewer.
This method scrolls a displayed object to a specified offset.
This method creates a selection object and inserts it into the viewer.
This method creates a selection object if the left mouse button is pressed and then released.
This method provides the same functionality as StartManualSelection, but does not immediately remove the existing selection.
StartManualSelection
This object provides the following properties.
This object provides the following events.
The following sample code shows how to load and display an image file in a Cairo Viewer object.
RemoveSelection ()