Creates a new printer object that prints to the specified file as the specified file type.
'Declaration
Public Shared Function CreateFilePrinter( _
ByVal As PrintPro, _
ByVal As String, _
ByVal As SaveFileType _
) As Printer
'Usage
Dim printProWorkspace As PrintPro
Dim fileName As String
Dim saveFileType As SaveFileType
Dim value As Printer
value = Printer.CreateFilePrinter(printProWorkspace, fileName, saveFileType)
public static Printer CreateFilePrinter(
PrintPro ,
string ,
SaveFileType
)
public: static Printer* CreateFilePrinter(
PrintPro* ,
string* ,
SaveFileType
)
public:
static Printer^ CreateFilePrinter(
PrintPro^ ,
String^ ,
SaveFileType
)
Parameters
- printProWorkspace
- The PrintPro workspace instance to be used.
- fileName
- A string which represents the filename to save to.
- saveFileType
- A SaveFileType enumeration option to save to.
Return Value
A new Printer object which prints to the specified file.