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()
Dim g As GrapeCity.PDF.Drawing.Graphics = page.GetGraphics()
g.DrawImage(New Bitmap("ここにファイル名を入力してください"), New Point(30, 30))
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();
GrapeCity.PDF.Drawing.Graphics g = page.GetGraphics();
g.DrawImage(new Bitmap("ここにファイル名を入力してください"), new Point(30, 30));
GrapeCity.PDF.Writer.Write(doc, strm);
strm.Close();