ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / StringFormat Class / StringFormat Constructor / StringFormat Constructor(StringAlignment,StringAlignment,StringFormatFlags)
A StringAlignment that represents the horizontal alignment.
A StringAlignment that represents the vertical alignment.
The StringFormatFlags enumeration for the new StringFormat object.

In This Topic
    StringFormat Constructor(StringAlignment,StringAlignment,StringFormatFlags)
    In This Topic
    Initializes a new StringFormat object with the specified StringAlignment and StringFormatFlags enumeration.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal alignment As StringAlignment, _
       ByVal lineAlignment As StringAlignment, _
       ByVal formatFlags As StringFormatFlags _
    )
    public StringFormat( 
       StringAlignment alignment,
       StringAlignment lineAlignment,
       StringFormatFlags formatFlags
    )

    Parameters

    alignment
    A StringAlignment that represents the horizontal alignment.
    lineAlignment
    A StringAlignment that represents the vertical alignment.
    formatFlags
    The StringFormatFlags enumeration for the new StringFormat object.
    See Also