Spread WPF Documentation
PrintWithoutPrintDialog(String) Method
Example 


Prints the specified pages without displaying the print dialog.
Syntax
'Declaration
 
Public Overloads Sub PrintWithoutPrintDialog( _
   ByVal pageRange As System.String _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim pageRange As System.String
 
instance.PrintWithoutPrintDialog(pageRange)
public void PrintWithoutPrintDialog( 
   System.string pageRange
)

Parameters

pageRange
Remarks
Page strings should use a dash between groups of pages and a comma when skipping pages. For example, GcSpreadSheet1.PrintPreview("2-4, 6-8, 10"), means to preview the page from 2 to 4, 6 to 8, and page 10.
Example
This example prints without displaying the print dialog.
GcSpreadSheet1.PrintWithoutPrintDialog("1-2");
GcSpreadSheet1.PrintWithoutPrintDialog("1-2")
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.