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

Introduced: X13.

DrawingLayoutDialog()

public DialogResult DrawingLayoutDialog();
Public Function DrawingLayoutDialog() As DialogResult

DrawingLayoutDialog(Int)

public DialogResult DrawingLayoutDialog(int activeTab);
Public Function DrawingLayoutDialog(activeTab as Integer) As DialogResult

Parameters

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 drawing attributes such as line- and background color, rotation and transparency.

Return Value

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