Input for WinForms | ComponentOne
C1.Win.Drawing Namespace / StringRendererGDI Class / GetTextFormatFlags Method
The text layout information.
If true, the text is displayed from right to left.

In This Topic
    GetTextFormatFlags Method
    In This Topic
    Gets the System.Windows.Forms.TextFormatFlags corresponding to the specified System.Drawing.StringFormat.
    Syntax
    'Declaration
     
    
    Public Shared Function GetTextFormatFlags( _
       ByVal stringFormat As StringFormat, _
       Optional ByVal rightToLeft As Boolean _
    ) As TextFormatFlags
    public static TextFormatFlags GetTextFormatFlags( 
       StringFormat stringFormat,
       bool rightToLeft
    )

    Parameters

    stringFormat
    The text layout information.
    rightToLeft
    If true, the text is displayed from right to left.

    Return Value

    The display and layout information for text strings.
    See Also