Skip to main content

MapSize.Equals(MapSize, MapSize) Method

Determines whether the two specified MapSize objects are equal.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

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