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

IGeometryDefEdit.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 > IGeometryDefEdit Interface > IGeometryDefEdit.GridSize Property
ArcGIS Developer Help

IGeometryDefEdit.GridSize Property

The size of a spatial index grid.

[Visual Basic .NET]
Public Sub set_GridSize ( _
    ByVal Index As Integer, _
    ByVal A_2 As Double _
public void set_GridSize (
    int Index,
    double A_2
HRESULT put_GridSize(
  long Index,
Index [in]

Index is a parameter of type long [in]
is a parameter of type double

Product Availability

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


GridSize specifies the size of the spatial index.  Personal Geodatabases feature classes support one spatial index while File and ArcSDE Geodatabase feature classes support up to 3 spatial indexes. Note that each additional index must be larger than the previous index. The GridSize index is zero based with a maximum index of 2.

If an R-Tree index is being used as a spatial index (e.g. Oracle Spatial, Informix, PostgreSQL), this property should be set to 0.

See Also

IGeometryDefEdit Interface