AddNew Method of the FieldDefinitions Object

This method adds a new field definition of the specified type at the end of the collection.


Visual Basic .NET

Function AddNew( _
  Type As FieldTypeEnum, _
  Name As String _
) As FieldDefinition


  FieldTypeEnum      Type,
  BSTR               Name,
  IFieldDefinition** Result



[in] This variable specifies the type of the field. See the description of the FieldTypeEnum constants. Only the FT_TextField, FT_Checkmark, FT_CheckmarkGroup, FT_Table, FT_PictureField, FT_Group constants can be used as the value of this parameter.
[in] This variable specifies the name of the field. The name of the field can not contain a space, otherwise it couldn't be trained.
[out, retval] A pointer to the IFieldDefinition* variable that receives the interface pointer for the added field definition.

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

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.