Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTMLページからPDFを作成する無料の方法を探しています。
HTMLページには、iframe、画像、リスト、静的なものが含まれています。
.net でしかコーディングできません。したがって、その .net コードまたは互換性のあるライブラリです。
itextsharp、wkhtmltopdf、pdfSharp を試します。大成功ではありません。
タンクあなた
wkhtmltopdf の何が問題でしたか? 私はそれを使用してhtmlをpdfに変換しましたが、非常に優れていることがわかりました.
たとえば、うまく機能する iframe でテストするには、自分でコマンドを試してください。
wkhtmltopdf.exe http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe test.pdf
これは iframe を適切に読み込んで変換しますが、画像としてのみです。