开发者

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

开发者 https://www.devze.com 2023-01-14 08:59 出处:网络
I want to prin开发者_运维技巧t 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

I want to prin开发者_运维技巧t 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...

0

精彩评论

暂无评论...
验证码 换一张
取 消