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


IGeometryDef.GridSize Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometryDef Interface > IGeometryDef.GridSize Property
ArcGIS Developer Help

IGeometryDef.GridSize Property

The size of a spatial index grid.

[Visual Basic .NET]
Public Function get_GridSize ( _
    ByVal Index As Integer _
) As Double
[C#]
public double get_GridSize (
    int Index
);
[C++]
HRESULT get_GridSize(
  long Index,
  System.Double* Size
);
[C++]
Parameters
Index [in]

Index is a parameter of type long Size [out, retval]
Size is a parameter of type double*

Product Availability

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

Remarks

Personal geodatabase feature classes only support one spatial index. Any additional indexes will be ignored. File and ArcSDE geodatabase feature classes support up to 3 spatial indexes. The GridSize index is zero based with a maximum of index of 2.

If the value returned by this property is -2, it means the spatial index is an R-Tree index (e.g. Oracle Spatial, Informix, PostgreSQL).

See Also

IGeometryDef Interface