SpreadsheetGear 2017
Print(PrintWhat,Boolean) Method






SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class > Print Method : Print(PrintWhat,Boolean) Method
Specifies what to print.
Specifies whether the print dialog should be displayed before printing.
Prints according to the specified options.
Syntax
'Declaration
 
Public Overloads Sub Print( _
   ByVal printWhat As PrintWhat, _
   ByVal showPrintDialog As System.Boolean _
) 
'Usage
 
Dim instance As WorkbookView
Dim printWhat As PrintWhat
Dim showPrintDialog As System.Boolean
 
instance.Print(printWhat, showPrintDialog)
public void Print( 
   PrintWhat printWhat,
   System.bool showPrintDialog
)
public procedure Print( 
    printWhat: PrintWhat;
    showPrintDialog: System.Boolean
); 
public function Print( 
   printWhat : PrintWhat,
   showPrintDialog : System.boolean
);
public: void Print( 
   PrintWhat printWhat,
   System.bool showPrintDialog
) 
public:
void Print( 
   PrintWhat printWhat,
   System.bool showPrintDialog
) 

Parameters

printWhat
Specifies what to print.
showPrintDialog
Specifies whether the print dialog should be displayed before printing.
Requirements

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

See Also

Reference

WorkbookView Class
WorkbookView Members
Overload List
Print(Boolean) Method
PrintPreview Method
PrintPreview(PrintWhat) Method
ActiveSheet Property
PageSetup Property