Creates a new TabPosition object, initializes it with the specified tab stop position and text alignment, and adds it to the current collection.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Add(
	Unit tabPosition,
	TabAlignmentEnum tabAlignment
)
Visual Basic
Public Function Add ( _
	tabPosition As Unit, _
	tabAlignment As TabAlignmentEnum _
) As Integer

Parameters

tabPosition
Type: C1.C1Preview..::..Unit
The position of the tab stop relative to the left edge of the text area.
tabAlignment
Type: C1.C1Preview..::..TabAlignmentEnum
The text alignment at the specified tab stop.

Return Value

The index of the added TabPosition object in the current collection.

See Also