Click or drag to resize

CDBSetXYZChan Method

Sets current X, Y or Z channel name

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void SetXYZChan(
	int chan_symb,
	string chan
)

public void SetXYZChan(
	int chan_symb,
	string chan
)

Parameters

chan_symb
Type: SystemInt32
<define>DB_CHAN_SYMBOL</define>
chan
Type: SystemString
Channel name
Remarks
If the value specified is "", the internally stored value is cleared, and GetXYZChan_DB will return "X", "Y" or "Z" This can be used, for instance, to make "Easting" and "Northing" the current X and Y channels, and have GXs using the GetXYZChanSymb_DB function to load "X" and "Y" work as desired.
See Also