GrapeCity ActiveReports for .NET 12.0J
Picture クラス
メンバ  使用例 

レポートに画像を印刷します。
オブジェクト モデル
Picture クラス
構文
'宣言
 
Public NotInheritable Class Picture 
   Inherits ARControl
public sealed class Picture : ARControl 
使用例
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.picture1.BackColor = System.Drawing.Color.Transparent;
    this.picture1.HyperLink = "mailto:support@company.com";
    this.picture1.Image = System.Drawing.Image.FromFile("\\mycompany.gif");
    this.picture1.LineColor = System.Drawing.Color.Navy;
    this.picture1.LineStyle = LineStyle.Solid;
    this.picture1.LineWeight = 2.0f;
    this.picture1.PictureAlignment = PictureAlignment.Center;
    this.picture1.SizeMode = SizeModes.Clip;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Picture1.BackColor = System.Drawing.Color.Transparent
   Me.Picture1.HyperLink = "mailto:support@company.com"
   Me.Picture1.Image = System.Drawing.Image.FromFile("c:\mycompany.gif")
   Me.Picture1.LineColor = System.Drawing.Color.Navy
   Me.Picture1.LineStyle = LineStyle.Solid
   Me.Picture1.LineWeight = 2.0F
   Me.Picture1.PictureAlignment = PictureAlignment.Center
   Me.Picture1.SizeMode = SizeModes.Clip
End Sub
継承階層

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.Picture

参照

関連項目

Picture メンバ
GrapeCity.ActiveReports.SectionReportModel 名前空間

 

 


Copyright © 2003 GrapeCity inc. All rights reserved.