TXTextControl.WPF.TextControl.BarcodeLayoutDialog Method

Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a barcode. This dialog can only be invoked, if a barcode has been selected.

Introduced: 19.0.

BarcodeLayoutDialog()

Opens the dialog box showing its first tab.

[C#]
public DialogResult BarcodeLayoutDialog();
[Visual Basic]
Public Function BarcodeLayoutDialog() As DialogResult

BarcodeLayoutDialog(Int32)

Opens the dialog box showing the specified tab.

[C#]
public DialogResult BarcodeLayoutDialog(int activeTab);
[Visual Basic]
Public Function BarcodeLayoutDialog(activeTab as Integer) As DialogResult
Parameter Description
activeTab

Specifies the index of the tab, zero-based, that is displayed when the tabbed dialog box is opened. If this parameter is 0, the dialog box shows the tab for setting text wrapping and layout attributes, if this parameter is 1, the dialog box shows the tab for setting size and distances and if it is 2, the dialog shows the tab for setting further barcode attributes such as fore- and background color and the barcode's type and text.

Return Value

If the dialog has been left with the Cancel button the return value is DialogResult.Cancel. Otherwise, it is DialogResult.OK.

See Also