Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Dec 18, 2017 2:01 pm

Hi,

i'm currently testing Spire.PDF C# to load and print PDFs.
All documents are queued as "document" in the spooler, is there a way to set the name ?

I found the deprecated
Code: Select all
doc.PrintDocument.DocumentName
but is there an alternative ?

regards
Dennis

buehring
 
Posts: 2
Joined: Mon Dec 11, 2017 1:24 pm

Tue Dec 19, 2017 1:39 am

Hello Dennis,

Thanks for your inquiry. Please use doc.PrintSettings.DocumentName instead.

Sincerely,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Tue Dec 19, 2017 2:22 pm

Thanks,

its working after updating to the newest version. My installed version was missing DocumentName in PrintSettings.

buehring
 
Posts: 2
Joined: Mon Dec 11, 2017 1:24 pm

Wed Dec 20, 2017 1:23 am

Hello Dennis,

Thanks for your feedback. If you encounter any other question, please feel free to contact us.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.PDF

cron