Technical support for Spire.Doc

Moderator: iceblue support


Postby matambo » Wed Jun 14, 2017 4:29 pm

Good day:

Please, help me. I have a menssage

"Spire.Doc.Document does not contain a definition of PrintDialog"

This is my code in c#
Spire.Doc.Document doc = new Spire.Doc.Document();
PrintDialog PrintDialog1 = new PrintDialog();
PrintDialog dialog = new PrintDialog();
dialog.AllowPrintToFile = true;
dialog.AllowCurrentPage = true;
dialog.AllowSomePages = true;
dialog.UseEXDialog = true;
doc.PrintDialog = dialog;

Error is on "doc.PrintDialog = dialog;"

My version is 4.0

Posts: 1
Joined: Wed Jun 14, 2017 4:19 pm

Re: PrintDialog

Postby Betsy.jiang » Thu Jun 15, 2017 1:41 am

Dear matambo,

Thanks for your inquiry.
Sorry that Free Spire.Doc doesn't support print function, and the print function is only supported in commercial version. Please use the lastest commercial Spire.Doc Pack(hot fix) Version:5.9.31 if you need print function.
If there is any question, please let us know.

E-iceblue support team
User avatar
Posts: 1894
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests