ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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.
    See Also