1

別のテキストに置き換えたい (そしてファイルを新しい名前で保存したい) テキストを含む PDF ファイルがあります
。iTextSharp でそれを行うことはできますか?
そしてどうやって?
そのガイドを教えてもらえますか?

4

1 に答える 1

0

一般的に言えば、これは不可能です。この問題について説明しているFAQの質問を確認してください。FAQはiText(iTextSharpの派生元であるJavaバージョンプロジェクト)を対象としていますが、iTextSharpにも適用されます。

(リンクされた)例に関するコメントを覚えておいてください:

/* This is only a partial answer. It's a quick and dirty method showing how to
 * change a stream inside a PDF. Obviously, you'll have to detect words that are
 * stored in Form XObjects too, and you can seriously screw up the layout when
 * you manipulate the content stream as is done in this example.
 */
于 2009-09-07T09:59:39.913 に答える