Click or drag to resize

CMAPRemoveGrid Method

Remove references to a grid from a map.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void RemoveGrid(
	string grid,
	ref int removed
)

public void RemoveGrid(
	string grid,
	ref int removed
)

Parameters

grid
Type: SystemString
grid file name to remove
removed
Type: SystemInt32
if the grid link is removed, returns 1, else returns 0
Remarks
If the grid is the only one in the AGG, the AGG group is deleted, otherwise only the BAND containing the reference is deleted from the AGG. Any COLORBAR or GRIDHIST group associated with the AGG group is deleted. This is name-dependent, and will not work if a user has renamed the color bar or grid histogram.
See Also