How to do Print Word

Hi

I have a button called “Print Word”.i have a word file in my desktop.When am click on the “Print Word” button the word file i have in desktop should get printed.I need to open a dialogue box for print also

Hi,

Thanks for your posting and considering Aspose components.

It seems your question is related to MS-Word documents, so it is related to Aspose.Words.

I am moving your thread to correct forum.

Hi Ajeesh,

Please go through our documentation section related to the printing here. If you still need any further assistance or find any issues, please do let us know.

We’re sorry for the inconvenience.

Hi

Am getting error in line

PrintDialog printDlg = new PrintDialog();

“Generate class for PrintDialog”

how to get PrintDialog

Hi Ajeesh,

Thank you for inquiry, You are missing assembly reference System.Windows.Forms.PrintDialog. Please follow up the link for more details.
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.printdialog

In case of any ambiguity, please let me know.