Chinese Simplified (简体中文)

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

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

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

03.07.2024 8:50:25

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.