GrapeCity PlusPak for Windows Forms 10.0J > PlusPakの使い方 > データ出力 > PDFライブラリ > ページの操作 |
Dim strm As System.IO.Stream = System.IO.File.OpenWrite("test.pdf") Dim doc As GrapeCity.PDF.Document = New GrapeCity.PDF.Document() Dim page1 As GrapeCity.PDF.Objects.PageObject = doc.Pages.CreatePage() Dim page2 As GrapeCity.PDF.Objects.PageObject = doc.Pages.CreatePage() GrapeCity.PDF.Writer.Write(doc, strm) strm.Close()
System.IO.Stream strm = (System.IO.Stream)System.IO.File.OpenWrite("test.pdf"); GrapeCity.PDF.Document doc = new GrapeCity.PDF.Document(); GrapeCity.PDF.Objects.PageObject page1 = doc.Pages.CreatePage(); GrapeCity.PDF.Objects.PageObject page2 = doc.Pages.CreatePage(); GrapeCity.PDF.Writer.Write(doc, strm); strm.Close();
Dim strm As System.IO.Stream = System.IO.File.OpenWrite("test.pdf") Dim doc As GrapeCity.PDF.Document = New GrapeCity.PDF.Document() Dim page As GrapeCity.PDF.Objects.PageObject = doc.Pages.CreatePage() page.PaperSize = New SizeF(800, 300) GrapeCity.PDF.Writer.Write(doc, strm) strm.Close()
System.IO.Stream strm = (System.IO.Stream)System.IO.File.OpenWrite("test.pdf"); GrapeCity.PDF.Document doc = new GrapeCity.PDF.Document(); GrapeCity.PDF.Objects.PageObject page = doc.Pages.CreatePage(); page.PaperSize = new SizeF(800, 300); GrapeCity.PDF.Writer.Write(doc, strm); strm.Close();