Accusoft.PrintPro8.Net
ToFilePrinter Method




A string which represents the filename to save to.
A SaveFileType enumeration value which represents the file type to save to.
Takes the current printer object and converts it to print to a file.
Syntax
'Declaration
 
Public Sub ToFilePrinter( _
   ByVal fileName As String, _
   ByVal saveFileType As SaveFileType _
) 
'Usage
 
Dim instance As Printer
Dim fileName As String
Dim saveFileType As SaveFileType
 
instance.ToFilePrinter(fileName, saveFileType)
public void ToFilePrinter( 
   string fileName,
   SaveFileType saveFileType
)
public: void ToFilePrinter( 
   string* fileName,
   SaveFileType saveFileType
) 
public:
void ToFilePrinter( 
   String^ fileName,
   SaveFileType saveFileType
) 

Parameters

fileName
A string which represents the filename to save to.
saveFileType
A SaveFileType enumeration value which represents the file type to save to.
Remarks

After this is done the printer object will no longer print to a printer. This cannot be done once this object has been used to start a print job.

See Also

Reference

Printer Class
Printer Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback