ArcObjects Library Reference (Geometry)  

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(
  VARIANT_BOOL pre81Compatible
);
[C++]

Parameters

pre81Compatible [out, retval]   pre81Compatible is a parameter of type VARIANT_BOOL pre81Compatible   pre81Compatible is a parameter of type VARIANT_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