ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Picture Class / LineStyle Property
Example

In This Topic
    LineStyle Property (Picture)
    In This Topic
    Gets or sets the pen style used to paint the border around the picture control.
    Syntax
    'Declaration
     
    Public Property LineStyle As LineStyle
    public LineStyle LineStyle {get; set;}

    Property Value

    A LineStyle enumeration value. Default is LineStyle.Transparent.
    Example
    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;
    }
    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