This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometryDef Interface > IGeometryDef.GridSize Property (ArcObjects .NET 10.5 SDK) |
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,
double* Size
);
[C++]
Parameters Index [in] Index is a parameter of type long Size [out, retval] Size is a parameter of type double
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).