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

In This Topic
    IsSameStyle Method (LineDef)
    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