Accusoft.PrintPro8.Net
SelectPrinter(PrintPro,Int32,Int32,Int32,Int32) Method




The PrintPro workspace to use.
An integer value which represents the minimum available page range the user is allowed to select from in the print dialog.
An integer value which represents the maximum available page range the user is allowed to select from in the print dialog.
An integer which represents the default from page set in the page range portion of the print setup dialog
An integer which represents the default to page set in the page range portion of the print setup dialog
Selects a printer from the PrintPro workspace using the windows select printer dialog and setting the minimum and maximum page range along with the default from and to values the user is allowed to choose from.
Syntax
'Declaration
 
Public Overloads Shared Function SelectPrinter( _
   ByVal printProWorkspace As PrintPro, _
   ByVal minPage As Integer, _
   ByVal maxPage As Integer, _
   ByVal fromPage As Integer, _
   ByVal toPage As Integer _
) As Printer
'Usage
 
Dim printProWorkspace As PrintPro
Dim minPage As Integer
Dim maxPage As Integer
Dim fromPage As Integer
Dim toPage As Integer
Dim value As Printer
 
value = Printer.SelectPrinter(printProWorkspace, minPage, maxPage, fromPage, toPage)
public static Printer SelectPrinter( 
   PrintPro printProWorkspace,
   int minPage,
   int maxPage,
   int fromPage,
   int toPage
)
public: static Printer* SelectPrinter( 
   PrintPro* printProWorkspace,
   int minPage,
   int maxPage,
   int fromPage,
   int toPage
) 
public:
static Printer^ SelectPrinter( 
   PrintPro^ printProWorkspace,
   int minPage,
   int maxPage,
   int fromPage,
   int toPage
) 

Parameters

printProWorkspace
The PrintPro workspace to use.
minPage
An integer value which represents the minimum available page range the user is allowed to select from in the print dialog.
maxPage
An integer value which represents the maximum available page range the user is allowed to select from in the print dialog.
fromPage
An integer which represents the default from page set in the page range portion of the print setup dialog
toPage
An integer which represents the default to page set in the page range portion of the print setup dialog

Return Value

The printer that was selected.
See Also

Reference

Printer Class
Printer Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback