SpreadsheetGear 2012
PrintPreview(PrintWhat) Method






Specifies what to print.
Shows a print preview according to the specified options.
Syntax
'Declaration
 
Public Overloads Sub PrintPreview( _
   ByVal printWhat As PrintWhat _
) 
'Usage
 
Dim instance As WorkbookView
Dim printWhat As PrintWhat
 
instance.PrintPreview(printWhat)
public void PrintPreview( 
   PrintWhat printWhat
)
public procedure PrintPreview( 
    printWhat: PrintWhat
); 
public function PrintPreview( 
   printWhat : PrintWhat
);
public: void PrintPreview( 
   PrintWhat printWhat
) 
public:
void PrintPreview( 
   PrintWhat printWhat
) 

Parameters

printWhat
Specifies what to print.
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
Print(PrintWhat,Boolean) Method
PrintPreview Method
ActiveSheet Property
PageSetup Property

Send Feedback