SpreadsheetGear.Windows.Forms Namespace > CommandPrint Class > CommandPrint Constructor : CommandPrint Constructor(ISheet,PrintWhat,Boolean,Boolean) |
'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)
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 )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2