简体   繁体   中英

How can i print first page of a pdf document in C# using Acobat Reader?

I want to print first page of a pdf document. Now i can pring all pages of pdf document. But i need to print firsft page. I am using Acrobat Reader and my programming language is C#.

if you can already print a pdf you might want to look at using iText sharp to extract the single page and then print it.

iTextsharp has a function ExtractPdfPage

http://sourceforge.net/projects/itextsharp/

Not sure this is the most efficient way but if you can't instruct Acrobat to print one page through ole etc...

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