Skip to main content
A newer version of this page is available. .

MapSize.Equals(MapSize, MapSize) Method

Determines whether the two specified MapSize objects are equal.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll

Declaration

public static bool Equals(
    MapSize size1,
    MapSize size2
)

Parameters

Name Type Description
size1 MapSize

A MapSize instance that specifies the first map size to compare.

size2 MapSize

A MapSize instance that specifies the second map size to compare.

Returns

Type Description
Boolean

true if specified objects are equal; otherwise false.

Remarks

Two MapSize objects are considered equal if their MapSize.Height and MapSize.Width property values are equal.

See Also