PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / TabPositionCollection Class / Add Method / Add(Unit) Method
The position of the tab stop relative to the left edge of the text area.

In This Topic
    Add(Unit) Method
    In This Topic
    Creates a new TabPosition object, initializes it with the specified tab stop position, and adds it to the current collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal tabPosition As Unit _
    ) As Integer
    public int Add( 
       Unit tabPosition
    )

    Parameters

    tabPosition
    The position of the tab stop relative to the left edge of the text area.

    Return Value

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