ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / TabbedTextOut Method
A string that saves the characters to be written.
A System.Drawing.Point that indicates the reference point that the system uses to align the string.
Pointer to an array containing the tab-stop positions. The tab stops must be sorted in increasing order; the smallest x-value should be the first item in the array. If this parameter is null, tabs are expanded to eight times the average character width.
Specifies the x-coordinate of the starting position from which tabs are expanded.

In This Topic
    TabbedTextOut Method
    In This Topic
    Writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color.
    Syntax
    'Declaration
     
    Public Function TabbedTextOut( _
       ByVal text As System.String, _
       ByVal position As System.Drawing.Point, _
       ByVal tabStopPositions() As System.Integer, _
       ByVal tabOrigin As System.Integer _
    ) As System.Drawing.Size
    public System.Drawing.Size TabbedTextOut( 
       System.string text,
       System.Drawing.Point position,
       System.int[] tabStopPositions,
       System.int tabOrigin
    )

    Parameters

    text
    A string that saves the characters to be written.
    position
    A System.Drawing.Point that indicates the reference point that the system uses to align the string.
    tabStopPositions
    Pointer to an array containing the tab-stop positions. The tab stops must be sorted in increasing order; the smallest x-value should be the first item in the array. If this parameter is null, tabs are expanded to eight times the average character width.
    tabOrigin
    Specifies the x-coordinate of the starting position from which tabs are expanded.

    Return Value

    Returns the dimensions, of the string.
    See Also