iTextSharp

「Zip2PDF」を作成しました。

なお、このソフトは非公開となってます。 □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ Zip2PDF Ver.0.50 2010/11/2 葛城 http://d.hatena.ne.jp/katsuraghi/□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□■Zip2PDFについて Zip2PDFはシンプルなPDFコンバータです。 ・Zip…

iTextSharpで画像を描画するには。

意外に簡単。 ■ iTextSharpで画像を描画するには。 //画像を取り込む。 iTextSharp.text.Image image = iTextSharp.text.Image.GetInstance(new Uri(@"C:\Users\template\Pictures\適当.jpg")); //ページに挿入 doc.Add(image); ■ System.Drawing.Imageで取…

iTextSharpでPDFのページサイズを変更するには。

CodeZineの「iTextSharpを利用して.NETでPDF帳票を出力する」から引用 簡単なPDFを生成するコード //ドキュメントを作成 Document doc = new Document(); //ファイルの出力先を設定 PdfWriter.GetInstance(doc, new FileStream("01_Hello.pdf", FileMode.Cre…

iTextSharpをMicrosoft .NET Framework 4で使用する方法。

iTextSharpの「iTextAsian-1.0.dll」はVisual Studio 2003で作成されており、Microsoft .NET Framework 4でコンパイルされていない為、再度コンパイルを行う必要がある。 ★コンパイル環境 Microsoft Visual C# 2010 Express にて確認済み。■ iTextSharp 本体…