简体   繁体   中英

c# printing a pdf landscape without resorting to 3rd party?

I'm trying to simply print a pdf file in landscape in C# code. Is it simply possible to do without 3rd party software perhaps through a system method? If so, how?

You cannot do this without 3rd party software, Windows does not have built in printing capabilities.
If you do not want to use a paid .NET library to integrate printing in your application, you can use Adobe Reader to print the PDF files from command line, see more details here: Adobe Reader Command Line Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM