ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / SetTextAlign Method
A TextAlignment that specifies the new text alignment.

In This Topic
    SetTextAlign Method
    In This Topic
    Sets the text-alignment flags for this device context.
    Syntax
    'Declaration
     
    
    Public Function SetTextAlign( _
       ByVal textAlignment As TextAlignment _
    ) As TextAlignment
    public TextAlignment SetTextAlign( 
       TextAlignment textAlignment
    )

    Parameters

    textAlignment
    A TextAlignment that specifies the new text alignment.

    Return Value

    A TextAlignment that specifies the previous text alignment.
    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