 | CMAPRepairBrokenGridLinks Method |
Replaces/repairs references to a grid inside a map.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void RepairBrokenGridLinks(
string grid,
ref int repaired
)
public void RepairBrokenGridLinks(
string grid,
ref int repaired
)
Public Sub RepairBrokenGridLinks (
grid As String,
ByRef repaired As Integer
)
Public Sub RepairBrokenGridLinks (
grid As String,
ByRef repaired As Integer
)
public:
void RepairBrokenGridLinks(
String^ grid,
int% repaired
)
public:
void RepairBrokenGridLinks(
String^ grid,
int% repaired
)
member RepairBrokenGridLinks :
grid : string *
repaired : int byref -> unit
member RepairBrokenGridLinks :
grid : string *
repaired : int byref -> unit
Parameters
- grid
- Type: SystemString
new grid file name path (must resolve to an existing file) - repaired
- Type: SystemInt32
if grid link is repaired, returns 1, else returns 0
Remarks
The replacement/repair occurs only if the original reference, bearing the same
file name and extension, does not resolve to an existing grid. (Working links
will not be affected).
The replacement path must resolve to an existing grid, and if possible will be
stored as a relative path to the map.
See Also