ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Line Class / LineStyle Property
Example

In This Topic
    LineStyle Property (Line)
    In This Topic
    Gets or sets the pen style used to draw the line.
    Syntax
    'Declaration
     
    Public Property LineStyle As LineStyle
    public LineStyle LineStyle {get; set;}

    Property Value

    LineStyle enumeration.  The default value is LineStyle.Solid. Possible values are:

    • LineStyle.Dash
    • LineStyle.DashDot
    • LineStyle.DashDotDot
    • LineStyle.Dot
    • LineStyle.Solid
    • LineStyle.Transparent
    Example
    private void Detail_Format(object sender, System.EventArgs eArgs)
    {
        this.Line1.LineStyle = LineStyle.DashDot;
    }
    Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
        Me.Line1.LineStyle = LineStyle.DashDot
    End Sub
    See Also