pdf - 使用 iTextSharp 从现有 PDF 中读取 XMP

标签 pdf itext xmp

如何使用 iTextSharp 从现有 PDF 文件中读取 XMP?

最佳答案

我对 itextSharp 非常无知,但这对我来说很有效:

    PdfReader pdf = new PdfReader(fileName);
    string metadataXml = System.Text.Encoding.Default.GetString(pdf.Metadata);

关于pdf - 使用 iTextSharp 从现有 PDF 中读取 XMP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1522101/

相关文章:

python-3.x - python 3.6.1 中的运行时错误 : Failed to open TrueType font in matplotlib. backends_pdf

image-processing - 从图像中获取地理标签的开源库?

java - itext 使用 Java 在 pdf 中创建 XMP

c++ - 在 Adob​​e XMP SDK 中找不到 SXMPMeta

c# - 使用 iTextSharp 裁剪 PDF

pdf - 如何在 PDF 报告中使用 xslt 显示页码(N of N)

c# - 使用 iTextSharp 在 PDF 上添加图章/水印/内容

c# - 使用 iTextSharp 阅读 PDF 文件附件注释

C# iTextsharp 替换多页 PDF 的页面

PHP LaTeX 到 PDF 的转换/编译