gpt4 book ai didi

c# - 如何将 PDF 文件拆分成页面(最好是 C#)

转载 作者:可可西里 更新时间:2023-11-01 07:44:14 26 4
gpt4 key购买 nike

我的客户有一个多页 PDF 文件。他们需要按页拆分。有谁知道执行此操作的方法 - 最好是在 C# 中。

最佳答案

PDFSharp是一个开源库,它可能就是您想要的:

Key Features

  • Creates PDF documents on the fly from any .Net language
  • Easy to understand object model to compose documents
  • One source code for drawing on a PDF page as well as in a window or on the printer
  • Modify, merge, and split existing PDF files

This sample显示如何将 n 页的 PDF 文档转换为 n 个文档,每个文档一页。

关于c# - 如何将 PDF 文件拆分成页面(最好是 C#),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/122109/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com