Maptitude GISDK Help

CreateObject() Method

Summary

A COM method for creating a new object from a class.

 

Syntax

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.

 

Returns

A variant containing the object variable.

 

Notes

 

For more information, see...

The Maptitude Object

Function() Method

Macro() Method

The MacroVal Object

Accessing Maptitude as a COM Object

 

 

©2025 Caliper Corporation www.caliper.com