使用C#删除PDF文档中的空白页 [英] Removing Empty Pages in a PDF document using C#

查看:370
本文介绍了使用C#删除PDF文档中的空白页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含500页以上的PDF文件,但是在文档中以随机方式包含的空白页很少.有什么办法可以删除这些空白页?生成PDF的系统使用选择的PDF库( http://selectpdf.com/pdf-网络图书馆/).

I have a PDF file with more than 500 pages, but it has few empty pages with in the document in a random manner. Is there any possible way to remove these empty pages? The system which generates PDF, uses select PDF library (http://selectpdf.com/pdf-library-for-net/).

推荐答案

要删除pdf相同页面,请使用PdfDocument RemovePageAt 方法.

For remove pdf same page use PdfDocument class RemovePage or RemovePageAt methods.

这篇关于使用C#删除PDF文档中的空白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆