Click or drag to resize
CDBCreateSymb Method
Create a new Symbol.

Available since Oasis montaj version: 5.0.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
If symbol already exits, and it is the same type simply returns a handle to the existing symbol. This method simple calls CreateSymbEx_DB with the extra info set to 1. STRING-type channels: To create a string-type channel, enter a negative number for the channel category below. For instance, "-32" will create a string channel with 32 characters per item. BLOBS: Blobs (Binary Large Objects) can be used for storing miscellaneous data which does not fit well into any of the other various storage objects, such as a REG. Generally, one or more objects is serialized to a BF object, which is then written to the blob using the sWriteBlobBF_DB() function. Retrieval is done in the reverse order, using sWriteBlobBF_DB() first, then extracting the objects from the BF object. To avoid namespace problems, Geosoft reserves the following name prefixes: OE. (Core functions) GS. (Applications) CS. (Custom Solutions applications) Programmers should avoid using the above prefixes as the starting letters of their blob names to avoid any possible conflicts.
Syntax
public int CreateSymb(
	string str1,
	int i2,
	int i3,
	int i4
)

Parameters

str1
Type: SystemString
Symbol Name
i2
Type: SystemInt32
See DB_SYMB_TYPEConstant
i3
Type: SystemInt32
See DB_OWNConstant
i4
Type: SystemInt32
See DB_CATEGORY_USERConstant, DB_CATEGORY_LINEConstant, DB_CATEGORY_CHANConstant, DB_CATEGORY_BLOBConstant

Return Value

Type: Int32
DB_SYMB Object
See Also