PrintFile(String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PrintFile() method opens the Print dialog to determine the target printer and then prints the specified file using the Windows PrintTo verb.
This overload of the method includes only the path parameter. Print arguments are not passed with the Windows PrintTo verb to print the file.