SpreadsheetGear.Windows.Forms Namespace > CommandPrint Class > CreatePrintDocument Method : CreatePrintDocument(ISheet,PrintWhat) Method |
'Declaration
Protected Overloads Overridable Function CreatePrintDocument( _ ByVal sheet As ISheet, _ ByVal printWhat As PrintWhat _ ) As System.Drawing.Printing.PrintDocument
'Usage
Dim instance As CommandPrint Dim sheet As ISheet Dim printWhat As PrintWhat Dim value As System.Drawing.Printing.PrintDocument value = instance.CreatePrintDocument(sheet, printWhat)
protected virtual System.Drawing.Printing.PrintDocument CreatePrintDocument( ISheet sheet, PrintWhat printWhat )
protected function CreatePrintDocument( sheet: ISheet; printWhat: PrintWhat ): System.Drawing.Printing.PrintDocument; virtual;
protected function CreatePrintDocument( sheet : ISheet, printWhat : PrintWhat ) : System.Drawing.Printing.PrintDocument;
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