Control Reference > VSPrinter Control > VSPrinter Methods > PrintFile Method |
Prints a file.
[form!]VSPrinter.PrintFile FileName As String
This method allows you to print a file quickly. You don't have to call the StartDoc and EndDoc methods to use PrintFile.
If the AutoRTF property is set to True, the control will automatically detect RTF files and render them appropriately.