TXTextControl.TextControl.ChartLayoutDialog Method

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

Introduced: 18.0.


Opens the dialog box showing its first tab.

public DialogResult ChartLayoutDialog();
[Visual Basic]
Public Function ChartLayoutDialog() As DialogResult


Opens the dialog box showing the specified tab.

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

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.

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