AddNew Method of the TabPositions Object

This method creates a new TabPosition object with specified properties and adds it at the end of the collection.

Syntax

C++

HRESULT AddNew(
   ParagraphTabAlignmentEnum   TabAlignment,
   TabLeaderTypeEnum           LeaderType,
   int                         Position,
   ITabPosition**              Result 
);
    

C#

TabPosition AddNew( 
  ParagraphTabAlignmentEnum   TabAlignment,
  TabLeaderTypeEnum           LeaderType,
  int                         Position
);
    

Visual Basic .NET

Function AddNew( _
  TabAlignment As ParagraphTabAlignmentEnum, _
  LeaderType As TabLeaderTypeEnum, _
  Position As Integer _
) As TabPosition
    

Parameters

TabAlignment
[in] Variable which specifies the type of alignment for a single tab stop. It may be set to one of the constants from the ParagraphTabAlignmentEnum.
LeaderType
[in] Variable which specifies the type of the tab leaders. It may be set to one of the constants from the TabLeaderTypeEnum.
Position
[in] Variable which specifies the position of the tab stop, counted from the left border of the paragraph in hundredth parts of point (point is 1/72").
Result
[out, retval] A pointer to ITabPosition* pointer variable that receives the interface pointer of the added TabPosition object.

Return values

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

See also

Working with Collections

TabPositions

24.03.2023 8:51:52

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.