ActiveReports Developer 7
LineWeight Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Picture Class : LineWeight Property

Glossary Item Box

Gets or sets the pen width of the line in pixels.

Syntax

Visual Basic (Declaration) 
Public Property LineWeight As System.Single
C# 
public System.float LineWeight {get; set;}

Property Value

Float value that represents the current width of the line in pixels.

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 Detail1_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