Articles in this section
Category / Section

Does XlsIO provides support for printing?

1 min read

Essential XlsIO don't have direct support for printing documents. If MS Excel is present on the system, you can launch the process and print the spreadsheet using the below code snippet.

C#

//Printing the spreadsheet that was created.
System.Diagnostics.Process pr = new System.Diagnostics.Process();
pr.StartInfo.Verb = "Print";
pr.StartInfo.FileName = "Sample.xlsx";

 

VB

'Printing the spreadsheet that was created.
Dim pr As New System.Diagnostics.Process()
pr.StartInfo.Verb = "Print"
pr.StartInfo.FileName = "Sample.xlsx"
pr.Start()

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied