Builds a spatial index for a shapefile or TAB file.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function BuildIndex( _ 
   ByVal filename As String,  _ 
   ByVal depth As Integer _ 
) As Boolean
C#
public bool BuildIndex(
   string filename,
   int depth
)
C++
public:
 bool BuildIndex(
   String filename,
   int depth
) sealed 
J#
public bool BuildIndex(
   string filename,
   int depth
)
JScript
public  function BuildIndex(
   filename : String,
   depth : int
) : bool

Parameters

filename
A string expression that evaluates to a path to a shapefile or TAB file.
depth
A depth of the spatial index (8 by default).

Return Value

True if the index file was created successfully, False otherwise.

See Also