PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / TabPositionCollection Class / Add Method / Add(Unit,TabAlignmentEnum,Char) Method
The position of the tab stop relative to the left edge of the text area.
The text alignment at the specified tab stop.
The fill char between the preceding and the added tab stop.

In This Topic
    Add(Unit,TabAlignmentEnum,Char) Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal tabPosition As Unit, _
       ByVal tabAlignment As TabAlignmentEnum, _
       ByVal fillChar As Char _
    ) As Integer
    public int Add( 
       Unit tabPosition,
       TabAlignmentEnum tabAlignment,
       char fillChar
    )

    Parameters

    tabPosition
    The position of the tab stop relative to the left edge of the text area.
    tabAlignment
    The text alignment at the specified tab stop.
    fillChar
    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