Hello,
Thanks for your inquiry.
Regarding WordDestinationObject.ApplicationVisible = True, please try the following code, and you can also our
Spire.DocViewerto view the document.
- Code: Select all
System.Diagnostics.Process.Start(WordDestinationObject);
Regarding WordSourceObject.CloseWord(), please try the following code.
- Code: Select all
document.close()
The following method guides you to how to print the document with our product.
- Code: Select all
Document document = new Document();
document.LoadFromFile("Microsoft Word Document.docx");
PrintDialog dialog = new PrintDialog();
document.PrintDialog = dialog;
PrintDocument printDoc = document.PrintDocument;
printDoc.Print();
If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team