ActiveReports3 Request technical support
LineColor Property
See Also  Example


Gets or sets the border line color around the picture control.

Syntax

Visual Basic (Declaration) 
Public Property LineColor As Color
Visual Basic (Usage)Copy Code
Dim instance As Picture
Dim value As Color
 
instance.LineColor = value
 
value = instance.LineColor
C# 
public Color LineColor {get; set;}

Return Value

A System.Drawing.Color value that represents the color used to paint the picture border. Default value is Color.Transparent.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.picture1.LineColor = System.Drawing.Color.Navy;
   
this.picture1.LineStyle = LineStyle.Solid;
   
this.picture1.LineWeight = 2.0f;
}
Visual BasicCopy Code
Private Sub Detai1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Picture1.LineColor = System.Drawing.Color.Navy
   Me.Picture1.LineStyle = LineStyle.Solid
   Me.Picture1.LineWeight = 2.0F
End Sub

See Also