Adds a tab at the displacement tbPos, with type tbAlign, and leader style, tbLeader.
HRESULT AddTab( float tbPos, long tbAlign, long tbLeader );
New tab displacement, in floating-point points.
Alignment options for the tab position. It can be one of the following.
Leader character style. A leader character is the character that is used to fill the space taken by a tab character. It can be one of the following.
||Spaces are used. This is the default.|
||Dots are used.|
||A dashed line is used.|
||A solid line is used.|
If ITextPara::AddTab succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.
||Write access is denied.|
||The paragraph format object is attached to a range that has been deleted.|
It is assumed that there is never a tab at position zero. If multiple paragraphs are described, the common subset of tabs will be returned with 0x8000 in the upper word of the tab type.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|