您的位置:程序门 -> .net技术 -> c#



哪位大侠做过pdf信息修改呀?这个问题憋了我两天了。


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


哪位大侠做过pdf信息修改呀?这个问题憋了我两天了。
发表于:2007-02-02 14:07:59 楼主
pddoc.open( "g:\\17.pdf ");
pddoc.setinfo( "title ", "my   title ");
pddoc.close();

结果打开pdf一个,title段写入了“title”,而不是 "my   title "!
写author也是一样,写成了 "author ",而不是我想要的。

发表于:2007-02-02 14:32:501楼 得分:0
pddoc这个是第三方开发的库
建立lz好好看看它自带的sdk
发表于:2007-02-02 14:37:132楼 得分:0
pddoc   是acrobat中的一个对象,不是第三方的吧
发表于:2007-02-02 14:47:473楼 得分:0
坚决没用过...
发表于:2007-02-02 14:47:474楼 得分:0
坚决没用过...
发表于:2007-02-02 14:55:035楼 得分:0
thedoc.setinfo(theid,   "/title:text ",   "abcpdf ");
thedoc.setinfo(theid,   "/author:text ",   "websupergoo ");
thedoc.setinfo(theid,   "/subject:text ",   "abcpdf   documentation ");
thedoc.setinfo(theid,   "/keywords:text ",   "abcpdf,pdf,docs ");
thedoc.setinfo(theid,   "/creator:text ",   "websupergoo ");
thedoc.setinfo(theid,   "/producer:text ",   "websupergoo ");
thedoc.setinfo(theid,   "/creationdate:text ",   "d:2003 ");
thedoc.setinfo(theid,   "/moddate:text ",   "d:2003 ");
thedoc.setinfo(theid,   "/trapped:name ",   "false ");
发表于:2007-02-02 14:56:576楼 得分:0
int   theid   =   thedoc.addobject( " < <   > > ");
发表于:2007-02-03 20:38:207楼 得分:0
可以使用一下itextsharp,
http://pantian.cnblogs.com/archive/2006/04/16/376406.html


快速检索

最新资讯
热门点击