The IDLgrText::Init function method initializes the text object.
| Note |
Obj = OBJ_NEW('IDLgrText' [, String or vector of strings] [, PROPERTY=value])
or
Result = Obj->[IDLgrText::]Init([String or vector of strings] [, PROPERTY=value]) (Only in a subclass' Init method.)
When this method is called indirectly, as part of the call to the OBJ_NEW function, the return value is an object reference to the newly-created object.
When called directly within a subclass Init method, the return value is 1 if initialization was successful, or zero otherwise.
The string (or vector of strings) to be created. If this argument is not a string, it is converted prior to creation of the text object using the default formatting rules.
| Note |
Any property listed under IDLgrText Properties that contains the word "Yes" in the "Init" column of the properties table can be initialized during object creation using this method. To initialize the value of a property, specify the property name as a keyword set equal to the appropriate property value.
All other keywords are passed to the superclass of this object.
Introduced: 5.0
CLIP_PLANES keyword added: 5.6