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
17.09.2024 15:14:40