| CDBCreateSymbEx Method |
Create a new Symbol.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
If symbol already exits it is returned.
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.
Symbol name for DB_CATEGORY_LINE_FLIGHT must conform to
the following line naming syntax:
[type][number.version:flight]
Type can be: L - normal line
B - base line
T - tie line
R - trend line
S - test line
P - special line
Examples: L100,
T100.1:16
Note the "Flight" is any whole number that may be useful
to differentiate processing tasks.
The ability to create a VA channel is not available in the
free interface and requires a Montaj license.
Syntax public int CreateSymbEx(
string str1,
int i2,
int i3,
int i4,
int i5
)
Public Function CreateSymbEx (
str1 As String,
i2 As Integer,
i3 As Integer,
i4 As Integer,
i5 As Integer
) As Integer
public:
int CreateSymbEx(
String^ str1,
int i2,
int i3,
int i4,
int i5
)
member CreateSymbEx :
str1 : string *
i2 : int *
i3 : int *
i4 : int *
i5 : int -> int
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 - i5
- Type: SystemInt32
Extra info, which depends on DB_SYMB_TYPEConstant DB_SYMB_CHAN - element width for a VA channel ignores for all other DB_SYMB_TYPEConstant types
Return Value
Type:
Int32DB_SYMB handle.
See Also