FlexReport for .NET | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / VisualPrimitive Class / Compare Method / Compare(VisualPrimitive,VisualPrimitive) Method
One VisualPrimitive object.
Second VisualPrimitive object.

In This Topic
    Compare(VisualPrimitive,VisualPrimitive) Method
    In This Topic
    Compares two VisualPrimitive objects and returns true if objects represent same visual primitive.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Compare( _
       ByVal x As VisualPrimitive, _
       ByVal y As VisualPrimitive _
    ) As Boolean
    public static bool Compare( 
       VisualPrimitive x,
       VisualPrimitive y
    )

    Parameters

    x
    One VisualPrimitive object.
    y
    Second VisualPrimitive object.

    Return Value

    Returns true if objects are same, false otherwise. Returns true if both objects are null.
    See Also