public CommandPrint( ISheet sheet, PrintWhat printWhat, System.bool printPreview, System.bool showPrintDialog )
public CommandPrint( sheet: ISheet; printWhat: PrintWhat; printPreview: System.Boolean; showPrintDialog: System.Boolean );
public function CommandPrint( sheet : ISheet, printWhat : PrintWhat, printPreview : System.boolean, showPrintDialog : System.boolean );
public: CommandPrint( ISheet* sheet, PrintWhat printWhat, System.bool printPreview, System.bool showPrintDialog )
public: CommandPrint( ISheet^ sheet, PrintWhat printWhat, System.bool printPreview, System.bool showPrintDialog )
'Declaration
Public Function New( _ ByVal sheet As ISheet, _ ByVal printWhat As PrintWhat, _ ByVal printPreview As System.Boolean, _ ByVal showPrintDialog As System.Boolean _ )
'Usage
Dim sheet As ISheet Dim printWhat As PrintWhat Dim printPreview As System.Boolean Dim showPrintDialog As System.Boolean Dim instance As New CommandPrint(sheet, printWhat, printPreview, showPrintDialog)
Parameters
- sheet
- Specifies the sheet.
- printWhat
- Specifies what to print.
- printPreview
- Specifies whether to do a print preview.
- showPrintDialog
- Specifies whether the print dialog should be displayed before printing.