The component SCBCroImage provides methods and properties to load, modify, and save image files.
This object provides the following properties.
This read-only property returns the height of the image in pixels.
The SCBCroImage object provides the following type definitions.
This object provides the following methods.
This read-only property returns the number of bits per pixel of the current loaded image.
This property sets or returns the default quality for saving JPG-images.
This property returns the path used by the last LoadFile or LoadMultiImageFile operation or an empty string when no load operation was executed before.
LoadFile
LoadMultiImageFile
This read-only property returns the number of images in the file where the image was loaded from, such as the number of images in a multi-image file like a Multi-TIFF.
This read-only property returns the index of the currently loaded image within the multi-image file.
This read-only property returns the type of the currently loaded image.
This property specifies the default value for saving JPG images. This value is shared by all image objects running within the same application and is used as long as the JPGQuality parameter was not used.
This read-only property returns if the Lura document format is available.
This property sets or returns the current Lura document layer for the image object.
This property sets or returns the settings object for the Lura document object.
This property sets or returns the modified state of the image, which is changed by methods like Rotate or ChangePixelDepth.
Rotate
ChangePixelDepth
This property controls the saving of TIFF files.
This read-only property returns the number of user defined TIFF tags in the current image.
This read-only property returns the TIFF tag value of type double of the TIFF tag list specified by the index.
This read-only property returns the TIFF tag id of the TIFF tag specified by index.
This read-only property returns the TIFF tag value of the TIFF tag specified by the index.
This read-only property returns the denominator of a rational TIFF tag value of the tag specified by the index.
This read-only property returns the numerator of a rational TIFF tag value of the tag specified by index.
This read-only property returns the TIFF tag string value of the TIFF tag specified by index.
This read-only property returns the data type of the specified tag in the Tiff file.
This read-only property returns the TIFF tag value of the TIFF tag specified by index.
This read-only property returns the width of the image in pixels.
This read-only property returns the X coordinate of the left top in pixel. By default, the value is 0. To change the value, use the Move method.
Move
This read-only property returns the horizontal resolution of the image in dots per inch.
This read-only property returns the y coordinate of left top in pixels. By default, the value is 0. To change the value, use the Move method.
This read-only property returns the vertical resolution of the image in dots per inch.
The following sample code shows the usage of some SCBCroImage features, such as LoadFile, DetectSkew, Rotate, and SaveFile. The results are displayed with SCBCroViewer.
DetectSkew
SaveFile
The component SCBCroViewer provides methods and properties to display various objects, such as images, text documents, annotations, or OCR and scanning results.
Height As Long