[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.StringFormat.-ctor

StringFormat Constructor

StringFormat()

Initializes a new StringFormat object.

Declaration
public StringFormat()

StringFormat(StringFormatFlags)

Initializes a new StringFormat object with the specified StringFormatFlags enumeration.

Declaration
public StringFormat(StringFormatFlags formatFlags)
Parameters
Type Name Description
StringFormatFlags formatFlags

The StringFormatFlags enumeration for the new StringFormat object.

StringFormat(StringAlignment, StringAlignment, StringFormatFlags)

Initializes a new StringFormat object with the specified StringAlignment and StringFormatFlags enumeration.

Declaration
public StringFormat(StringAlignment alignment, StringAlignment lineAlignment, StringFormatFlags formatFlags)
Parameters
Type Name Description
StringAlignment alignment

A StringAlignment that represents the horizontal alignment.

StringAlignment lineAlignment

A StringAlignment that represents the vertical alignment.

StringFormatFlags formatFlags

The StringFormatFlags enumeration for the new StringFormat object.

StringFormat(StringFormat)

Initializes a new StringFormat object from the specified existing StringFormat object.

Declaration
public StringFormat(StringFormat stringFormat)
Parameters
Type Name Description
StringFormat stringFormat

The StringFormat object from which to initialize the new StringFormat object.