Prints an image on the report.
For a list of all members of this type, see Picture members.
Object Model
Inheritance Hierarchy
System.Object
DataDynamics.ActiveReports.ARControl
DataDynamics.ActiveReports.Picture
Syntax
[Visual Basic]
Public NotInheritable Class Picture
Inherits ARControl
Example
[C#]
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; } |
[Visual Basic]
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.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 |
See Also
Picture Members
| DataDynamics.ActiveReports Namespace
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.