BrickStringFormat(StringAlignment, StringAlignment, StringFormatFlags, HotkeyPrefix, StringTrimming) Constructor

Initializes a new instance of the BrickStringFormat class with the specified text and line alignment, formatting settings, hotkey prefix and trimming mode.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public BrickStringFormat(
    StringAlignment alignment,
    StringAlignment lineAlignment,
    StringFormatFlags formatFlags,
    HotkeyPrefix hotkeyPrefix,
    StringTrimming trimming
)
Public Sub New(
    alignment As StringAlignment,
    lineAlignment As StringAlignment,
    formatFlags As StringFormatFlags,
    hotkeyPrefix As HotkeyPrefix,
    trimming As StringTrimming
)

Parameters

Name Type Description
alignment StringAlignment

A StringAlignment enumeration value representing text alignment settings. This value is assigned to the BrickStringFormat.Alignment property.

lineAlignment StringAlignment

A StringAlignment enumeration value representing line alignment settings. This value is assigned to the BrickStringFormat.LineAlignment property.

formatFlags StringFormatFlags

A StringFormatFlags enumeration value that represents formatting settings. This value is assigned to the BrickStringFormat.FormatFlags property.

hotkeyPrefix HotkeyPrefix

A HotkeyPrefix enumeration value representing the hotkey prefix. This value is assigned to the BrickStringFormat.HotkeyPrefix property.

trimming StringTrimming

A StringTrimming enumeration value representing the trimming mode. This value is assigned to the BrickStringFormat.Trimming property.

See Also