Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / LineDef Class / IsSameStyle Method
A LineDef to compare to the current one.

In This Topic
    IsSameStyle Method
    In This Topic
    Tests whether the current and another LineDef objects define same line styles - i.e. whether the values of Color, BackColor, DashStyle and DashPattern properties are the same. Note that this method does NOT compare the lines' widths.
    Syntax
    'Declaration
     
    Public Function IsSameStyle( _
       ByVal line As LineDef _
    ) As Boolean
    public bool IsSameStyle( 
       LineDef line
    )

    Parameters

    line
    A LineDef to compare to the current one.

    Return Value

    true if the two lines have same styles, false otherwise.
    See Also