ActiveReports3 Request technical support
LineWeight Property
See Also  Example


Gets or sets the pen width in pixels used to draw the shape.

Syntax

Visual Basic (Declaration) 
Public Property LineWeight As Single
Visual Basic (Usage)Copy Code
Dim instance As Shape
Dim value As Single
 
instance.LineWeight = value
 
value = instance.LineWeight
C# 
public float LineWeight {get; set;}

Return Value

Float value that represents the current pen width in pixels. Default is 1.0f.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.shape1.LineWeight = 2.0f;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Shape1.LineWeight = 2.0F
End Sub

See Also