ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / 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 (StringRendererGDI)
    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 System.Drawing.StringFormat, _
       Optional ByVal rightToLeft As System.Boolean _
    ) As System.Windows.Forms.TextFormatFlags
    public static System.Windows.Forms.TextFormatFlags GetTextFormatFlags( 
       System.Drawing.StringFormat stringFormat,
       System.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