GrapeCity.ActiveReports.Document.v11 アセンブリ > GrapeCity.ActiveReports.Document.Section 名前空間 > Page クラス > DrawImage メソッド : DrawImage(Image,Single,Single,Single,Single,String) メソッド |
private void arv_Load(object sender, System.EventArgs e) { rptDocument rpt = new rptDocument(); rpt.Run(); arv.Document=rpt.Document; arv.Document.Pages[0].DrawImage(System.Drawing.Image.FromFile("c:\\logo.gif"), 1, 1, 1, 1, "www.GrapeCity.com"); }
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load Dim rpt As New rptDocument rpt.Run() arv.Document = rpt.Document arv.Document.Pages(0).DrawImage(System.Drawing.Image.FromFile("c:\logo.gif"), 1, 1, 1, 1, "www.GrapeCity.com") End Sub