'Declaration
Public ReadOnly Property PrintPreviewDialog As PrintPreviewDialog
public PrintPreviewDialog PrintPreviewDialog {get;}
'Declaration
Public ReadOnly Property PrintPreviewDialog As PrintPreviewDialog
public PrintPreviewDialog PrintPreviewDialog {get;}
Form dlg = _flex.PrintParameters.PrintPreviewDialog as Form; dlg.Text = "Custom Caption"; dlg.StartPosition = FormStartPosition.Manual; dlg.WindowState = FormWindowState.Maximized; _flex.PrintGrid("test", PrintGridFlags.ShowPreviewDialog);