This document is archived and information here might be outdated.  Recommended version.


IGeometryEnvironment2.Pre81Compatibility Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryEnvironment2 Interface > IGeometryEnvironment2.Pre81Compatibility Property
ArcGIS Developer Help

IGeometryEnvironment2.Pre81Compatibility Property

Indicates if some geometric operations are compatible with releases previous to 8.1. When set to false, return errors for some illegal relational operations (default is true).

[Visual Basic .NET]
Public Property Pre81Compatibility As Boolean
[C#]
public bool Pre81Compatibility {get; set;}
[C++]
HRESULT get_Pre81Compatibility(
  VARIANT_BOOL pre81Compatible
);
[C++]
HRESULT put_Pre81Compatibility(
  Boolean* pre81Compatible
);
[C++]
Parameters
pre81Compatible 

pre81Compatible is a parameter of type bool pre81Compatible [out, retval]
pre81Compatible is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns and sets the flag indicating the preference for extending compatibility with pre-ArcInfo 8.1 releases at the cost of allowing improperly used IRelationalOperator comparisons to return meaningless false values. 

If Pre81Compatibility = TRUE, meaningless comparisons of non-Clementini geometries using Clementini relational operators returns FALSE (even though no meaningful relation actual took place). 

If Pre81Compatibility = FALSE, these comparisons will return an error message indicating that the attempted comparison is invalid and would not have returned meaningful results. By default, Pre81Compatibility = TRUE.

See Also

IGeometryEnvironment2 Interface