Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

GetOverlayImage Method








Gets the overlay image of this IOcrPage.
Syntax
RasterImage GetOverlayImage()
'Declaration
 
Function GetOverlayImage() As RasterImage
'Usage
 
Dim instance As IOcrPage
Dim value As RasterImage
 
value = instance.GetOverlayImage()
RasterImage GetOverlayImage()
- (nullable LTRasterImage *)overlayImage:(NSError **)error
public RasterImage getOverlayImage()
function Leadtools.Forms.Ocr.IOcrPage.GetOverlayImage()
RasterImage^ GetOverlayImage(); 

Return Value

The overlay image or null of the page does not have one.
Remarks

The overlay image of an IOcrPage will be used when the image is saved by an IOcrDocument in the following situations:

By the default, the overlay image is the original image used to create the page. It is the same value obtained by calling GetRasterImage with OcrPageType.Original.

In some situation, the user might want use a different image as the overlay. For example, a smaller version is passed to the OCR engine to conserve memory while the original version will only be used on save purposes in a PDF with image/text option. You can call SetOverlayImage before saving the document (memory-based) or adding the page to the document (file-based) and the engine will use this new image as the overlay value. If auto-preprocessing was performed on the page through AutoPreprocess, then the same values might need to be applied to the overlay as well. Use GetPreprocessValues to get the accumulative values of any inversion, rotation or deskewing applied by the pre-processor.

To clear the temporarily overlay image, call SetOverlayImage with a null value.

To get the overlay image at any time, call GetOverlayImage. Note that this property will the same image reference passed to the last SetOverlayImage call. It will not return the original image.

The overlay image is not disposed by this IOcrPage.

Example

For an example, refer to SetOverlayImage.

Requirements

Target Platforms

See Also

Reference

IOcrPage Interface
IOcrPage Members
Leadtools.Forms.DocumentWriters.DocumentFormat
IOcrPage.Recognize
IOcrEngine Interface
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR
Files to be Included with Your Application

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features