public static bool AreEqual( SpatialReference sr1, SpatialReference sr2, bool ignoreUnknown, bool checkResolution )
Public Shared Function AreEqual( _ ByVal sr1 As SpatialReference, _ ByVal sr2 As SpatialReference, _ Optional ByVal ignoreUnknown As Boolean, _ Optional ByVal checkResolution As Boolean _ ) As Boolean
Parameters
- sr1
- The first spatial reference.
- sr2
- The spatial reference to compare to.
- ignoreUnknown
- If set to true and if one SpatialReference is Unknown and the other is not, the two will be considered the same. Default value is false.
- checkResolution
- Default value is false. If set to true and the resolutions are not equal, false will be returned.
Return Value
True if the two spatial references are the same.