AddNewSegmentationModel Method of the SegmentationModelHandler Object
This method adds a new segmentation model.
Syntax
Visual Basic .NET
Function AddNew( Name As String, _ Language As Language _ ) As SegmentationModel
C++
HRESULT AddNew( BSTR Name, ILanguage* Language, ISegmentationModel** Result );
Parameters
- Name
- [in] The name of the new model.
- Language
- [in] Refers to the Language object that specifies the language of the text to be extracted.
Note: If the language of the text is different from the language specified by the parameter, then no fields will be recognized. In this case, you will need to change the language using the Language property of the SegmentationModel object. - Result
- [out, retval] A pointer to the ISegmentationModel* variable that receives the interface pointer for the added model.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
See also
15.08.2023 13:19:30