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

In This Topic
    SetTextAlign Method (WindowDeviceContext)
    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