AddNew Method of the SeparatorGroup Object

This method creates a separator block and inserts it into the specified position in the group.



  int               Position,
  IRegion*          BlockRegion,
  ISeparatorBlock** Result


SeparatorBlock AddNew(
  int    Position,
  Region BlockRegion

Visual Basic .NET

Function AddNew( _
  Position As Integer, _
  BlockRegion As Region _
) As SeparatorBlock


[in] This parameter specifies the index of the newly inserted block in the separator group. The value of the parameter must be in range from 0 to the value of the ISeparatorGroup::Count property. If the block with this index already exists in the group, the elements of the collection are shifted to the right. The element may also be inserted at the end of collection, in which case the value of this parameter must be equal to the value of the ISeparatorGroup::Count property.
[in] This variable refers to the Region object that specifies the region of the newly created separator block. This parameter may be 0, in which case the region of the new block will be set to the region of the separator group.
[out, retval] A pointer to ISeparatorBlock* pointer variable that receives the interface pointer of the new separator block.

Return values

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

See also



03.07.2024 8:50:43

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.