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




A PrintPro workspace.
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.
The available range options to select from.
Selects a printer from the PrintPro workspace using the windows select printer dialog and setting the minimum and maximum page range the user is allowed to choose from if ShowDialog is true.
Syntax
'Declaration
 
Public Overloads Shared Function SelectPrinter( _
   ByVal printProWorkspace As PrintPro, _
   ByVal minPage As Integer, _
   ByVal maxPage As Integer, _
   ByVal availableRange As PrintRangeAvailable _
) As Printer
'Usage
 
Dim printProWorkspace As PrintPro
Dim minPage As Integer
Dim maxPage As Integer
Dim availableRange As PrintRangeAvailable
Dim value As Printer
 
value = Printer.SelectPrinter(printProWorkspace, minPage, maxPage, availableRange)
public static Printer SelectPrinter( 
   PrintPro printProWorkspace,
   int minPage,
   int maxPage,
   PrintRangeAvailable availableRange
)
public: static Printer* SelectPrinter( 
   PrintPro* printProWorkspace,
   int minPage,
   int maxPage,
   PrintRangeAvailable availableRange
) 
public:
static Printer^ SelectPrinter( 
   PrintPro^ printProWorkspace,
   int minPage,
   int maxPage,
   PrintRangeAvailable availableRange
) 

Parameters

printProWorkspace
A PrintPro workspace.
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.
availableRange
The available range options to select from.

Return Value

The printer that was selected.
Remarks

Note: If ShowDialog is false, MinPage and MaxPage are used for the print from and print to range.

See Also

Reference

Printer Class
Printer Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback