TXTextControl.ServerVisualization.TextViewGenerator.GetDialogBox Method

Returns a view generator for the specified built-in dialog box.

GetDialogBox(DialogBoxKind)

Returns a view generator for the specified built-in dialog box.

[C#]
public DialogViewGenerator GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind kind);
[Visual Basic]
Public Function GetDialogBox(ByVal kind As ServerVisualization.TextViewGenerator.DialogBoxKind) As DialogViewGenerator
Member Description
kind

Specifies which kind of dialog box is represented through the view generator. It can be one of the values specified through the DialogBoxKind enumeration.

GetDialogBox(DialogBoxKind, Int32)

Returns a view generator for the specified built-in dialog box and selects the specified dialog box tab.

[C#]
public DialogViewGenerator GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind kind, int selectedTab);
[Visual Basic]
Public Function GetDialogBox(ByVal kind As ServerVisualization.TextViewGenerator.DialogBoxKind, ByVal selectedTab As Integer) As DialogViewGenerator
Member Description
kind

Specifies which kind of dialog box is represented through the view generator. It can be one of the values specified through the DialogBoxKind enumeration.

selectedTab

Specifies an zero-based index indicating which dialog box tab is selected. This parameter can only be used for the following dialog boxes:


Dialog Box Possible Tabs
ImageAttributesDialog Tab 0: Layout and position, tab 1: Size, scaling and distances, tab 2: Saving options.
TextFrameAttributesDialog Tab 0: Layout and position, tab 1: Size, scaling and distances, tab 2: frame width and color.
BarcodeLayoutDialog Tab 0: Layout and position, tab 1: Size, scaling and distances, tab 2: barcode options like type, text, rotation and colors.
ChartLayoutDialog Tab 0: Layout and position, tab 1: Size, scaling and distances.
DrawingLayoutDialog Tab 0: Layout and position, tab 1: Size, scaling and distances.
TableFormatDialog Tab 0: Frame width and color, background color and text distances, tab 1: Cell height, vertical alignment and formatting options.
ParagraphFormatDialog Tab 0: Alignment, text direction, indents and distances, tab 1: Frames and pagination.
SectionFormatDialog Tab 0: Page size, orientation and page margins, tab 1: Defining headers and footers, tab 2: Attributes of page columns, tab 3: Attributes of page frames.

GetDialogBox(PageNumberField)

Returns a view generator for a dialog box handling the attributes of the specified pagenumber field.

[C#]
public DialogViewGenerator GetDialogBox(PageNumberField pageNumberField);
[Visual Basic]
Public Function GetDialogBox(ByVal pageNumberField As PageNumberField) As DialogViewGenerator
Member Description
pageNumberField

Specifies the PageNumberField for which the dialog box is opened.

Return Value

The method returns a DialogViewGenerator object which can be used to manage and display a built-in dialog box. The return value is null, if a previously returned view generator has not yet been disposed.

See Also