Click or drag to resize

CDB.FindSymb Method

Get handle to the specified symbol.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int FindSymb(
	string symb,
	int type
)

public int FindSymb(
	string symb,
	int type
)

Parameters

symb
Type: System.String
Name of symbol
type
Type: System.Int32
<define>DB_SYMB_TYPE</define>

Return Value

Type: Int32
Symbol Handle, <define>NULLSYMB</define> if not defined
Remarks
To work with a specific column from a VA channel, specify the VA element number in square brackets as part of the VA channel name (e.g. "EM[3]" will treat the fourth column of the VA channel as a VV). For backward compatibility with GXs not employing the GetXYZChanSymb_DB function, the following behaviour has been introduced as of v5.1.3: (also true for "Y"). FindSymb_DB(hDB, "X", <define>DB_SYMB_CHAN</define>) is now equivalent to: GetXYZChanSymb_DB(hDB, <define>DB_CHAN_X</define>); In other words, the current X or Y is searched for, not necessarily the literal "X" or "Y". This ensures that newer databases, which might have "Easting" and "Northing" (or other similar names) instead of "X" and "Y" will still work with older GXs expecting "X" and "Y". The new FindChan_DB searches using the exact channel name.
See Also