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

GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind)

public DialogViewGenerator GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind kind);
Public Function GetDialogBox(ByVal kind As ServerVisualization.TextViewGenerator.DialogBoxKind) As DialogViewGenerator

GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind, Int)

public DialogViewGenerator GetDialogBox(ServerVisualization.TextViewGenerator.DialogBoxKind kind, int selectedTab);
Public Function GetDialogBox(ByVal kind As ServerVisualization.TextViewGenerator.DialogBoxKind, ByVal selectedTab As Integer) As DialogViewGenerator

GetDialogBox(PageNumberField)

public DialogViewGenerator GetDialogBox(PageNumberField pageNumberField);
Public Function GetDialogBox(ByVal pageNumberField As PageNumberField) As DialogViewGenerator

GetDialogBox(FormField)

public DialogViewGenerator GetDialogBox(FormField formField);
Public Function GetDialogBox(ByVal formField As FormField) As DialogViewGenerator

Parameters

Parameter 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:
Event Description
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.
pageNumberField Specifies the PageNumberField for which the dialog box is opened.
formField Specifies the FormField 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.