ComponentOne MultiSelect for WinForms
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 String, _
       ByVal position As Point, _
       ByVal tabStopPositions() As Integer, _
       ByVal tabOrigin As Integer _
    ) As Size
    public Size TabbedTextOut( 
       string text,
       Point position,
       int[] tabStopPositions,
       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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also