TXTextControl.WPF.TextControl.SectionFormatDialog Method

Invokes the built-in tabbed dialog box for setting section attributes. These are page settings such as margins, size and orientation and all settings concerning headers and footers.

Syntax

[C#]
public DialogResult SectionFormatDialog(int activeTab);
[Visual Basic]
Public Function SectionFormatDialog(ByVal 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 page margins, page size and orientation, if this parameter is 1, the dialog box shows the tab for setting headers and footers and if it is 2, the dialog shows the tab for setting column attributes.

Return Value

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

See Also