DefineNolObject Method
Description
Creates a named object in a Named Object Library from an implicit string, replacing any object with the same name. This method is used to create named Brush, Colour-set, Pen and Coordinate Reference System objects.
Implicit strings can be queried from existing named objects using GetImplicitNolObject.
Syntax
Visual Basic |
---|
Public Function DefineNolObject( _ ByVal aclass As String, _ ByVal aname As String, _ ByVal implicit As String _ ) As Integer |
Parameters
- aclass
- The class of named object to be queried. Valid classes are:
ABrush
Brush AColourset
Colour-set APen
Pen APrj
Coordinate Reference System AFtable Feature Table ATheme Theme - aname
- The named object to create, or replace.
- implicit
- The implicit string which defines the object. See Brush, Colour-set, Pen, Coordinate Reference System, Feature Table and Theme for descriptions.
Remarks
DefineNolObject supports implicit feature table strings, in JSON (see http://json.org) and XML formats.
Available: GEO OD SISpy
Group:
Example
sis.DefineNolObject ("ABrush","Parish","Brush1")