Chinese Simplified (简体中文)

SetImageData Method of the TrainingImage Object

This method sets the training image data from the region of an image document.

Syntax

C++

HRESULT SetImageData(
  IImageDocument* ImageDocument,
  IRegion*        CutRegion
);
    

C#

void SetImageData(
  IImageDocument ImageDocument,
  IRegion        CutRegion
);
    

Visual Basic .NET

Sub SetImageData( _
  ImageDocument As IImageDocument, _
  CutRegion As IRegion _
)
    

Parameters

ImageDocument
[in] Refers to the ImageDocument object corresponding to the image that is to be used for training.
CutRegion
[in] Refers to the Region object that specifies the area on image that is to be used for training. It should be set in coordinates of the deskewed black-and-white plane of the ImageDocument.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

TrainingImage

9/17/2024 3:14:41 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.