Maptitude GISDK Help |
A COM method for creating a new object from a class.
object = Maptitude.CreateObject(string classname, string dbname, [optional Variant arg1], [optional Variant arg2]..... [optional Variant arg9])
Argument |
Contents |
classname |
The name of the class from which to create the object. |
dbname |
The path and file name of the UI Database containing the GISDK macro. For classes provided by the standard interface, this value can be passed as the empty string. |
arg1, arg2, ... arg9 |
The function arguments; their count and Variant types should match those specified for that class. |
A variant containing the object variable.
If the argument specified is a string, integer, or real, then the Variant type must match.
If the argument is an array, then the Variant type must be a Safe Array of Variants of appropriate types.
A Null value can be passed as a Variant of type Null.
Arguments of the compound types in Caliper Script are passed as MacroVal objects in the Variants (see The MacroVal Object).
For more information, see...
Accessing Maptitude as a COM Object
©2025 Caliper Corporation | www.caliper.com |