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 properties.
This property sets or returns the width of the border
The SCBCroImage object provides the following type definitions.
The component SCBCroImage provides methods and properties to load, modify, and save image files.
This object provides the following methods.
This property sets or returns the alignment the displayed object, if its displayed width is smaller than the viewer window’s width.
This property sets or returns the alignment the displayed object, if its displayed height is smaller than the viewer window’s height.
This property sets or returns the back color of the viewer.
This property sets or returns the color of the border.
This property sets or returns the style of the border.
This read-only property returns the brightness property that controls the display of colored images.
This property controls the display of colored images. The valid range for the contrast property is from 0.0 to 100.0, where 1.0 is the default value, 0.0 is the most lowest contrast and 100.0 is the highest contrast.
This property sets or returns the displayed page of a document.
This property controls the activation of the user interactions tool of the displayed item.
This property sets or returns the scrolling behaviour of the viewer for the horizontal direction.
This property sets or returns the scrolling behaviour of the viewer for the vertical direction.
This property sets or returns a reference of the object to be displayed in the viewer.
This read-only property controls the horizontal scrolling offset of the displayed object.
This read-only property controls the vertical scrolling offset of the displayed object.
This property sets or returns the page count of the currently displayed document.
This property sets or returns how black-and-white images are displayed.
This property sets or returns whether the scroll bars are visible.
This property sets or returns the currently selected viewer object.
This property sets or returns the background color of the selection.
This property sets or returns the border color of the selection.
This property sets or returns which selection mode is enabled.
This property sets or returns if the page selection buttons on the toolbar are visible.
This property sets or returns if the selection buttons are visible.
This property sets or returns whether the toolbar provided by the user interaction tool is visible.
This property sets or returns whether the toolbar of the viewer is visible.
This read-only property returns the tool object provided by the displayed object.
This property controls the default zoom mode.
This property sets or returns the zoom value of the displayed document in percent.
This property defines the zoom factor applied when the user presses the Zoom in or Zoom out button.
This object provides the following events.
The following sample code shows how to load and display an image file in a Cairo Viewer object.
BorderWidth As Long