如何使用C#在PDF中设置元数据(文件->文档属性->摘要)? [英] How to set metadata in PDF (File --> Document Properties --> Summary) using a C# ?
本文介绍了如何使用C#在PDF中设置元数据(文件->文档属性->摘要)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#在PDF(文件->文档属性->摘要)中设置元数据?
我需要编写一个程序,可以使用该程序在PDF文件(文件->属性->摘要/关键字)上设置元数据.需要设置的元数据是标题,作者,主题和关键字.有人可以帮忙吗?
How to set metadata in PDF (File --> Document Properties --> Summary) using a C# ?
I need to write a program that can set metadata on PDF file (File --> Properties --> Summary/Keywords) using a program. Metadata that needs to be set is Title, Author, Subject and keywords. Can someone help? Is there any sample code that I could start with?
推荐答案
C#或.Net没有对PDF的内置支持.实际上,在这种情况下,您不需要任何PDF支持.
本文可以为您提供一个开端.
http://www.andrewdothay.net/blog/2010/08/16/HowToEditMetaDataInsideJPGFilesWithC.aspx [ ^ ]
C# or .Net does not have any in-built support for PDFs. Infact, you don''t need any PDF support in this particular case.
This article can give you a headstart.
http://www.andrewdothay.net/blog/2010/08/16/HowToEditMetaDataInsideJPGFilesWithC.aspx[^]
这篇关于如何使用C#在PDF中设置元数据(文件->文档属性->摘要)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文