Creates a new TabPosition object, initializes it with the specified tab stop position, text alignment and fill char, 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,
	char fillChar
)
Visual Basic
Public Function Add ( _
	tabPosition As Unit, _
	tabAlignment As TabAlignmentEnum, _
	fillChar As Char _
) 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.
fillChar
Type: System..::..Char
The fill char between the preceding and the added tab stop.

Return Value

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

See Also