The IDLffMrSID::Init function method initializes an IDLffMrSID object containing the image data from a MrSID image file.
| Note |
Result = OBJ_NEW('IDLffMrSID', Filename [, PROPERTY=value])
or
Result = Obj->[IDLffMrSID::]Init(Filename [, 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.
A scalar string argument containing the full path and filename of a MrSID file to be accessed through this IDLffMrSID object.
| Note |
Any property listed under IDLffMrSID 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.
oMrSID = OBJ_NEW('IDLffMrSID', FILEPATH('test_gs.sid', $
SUBDIRECTORY = ['examples', 'data']))
Introduced: 5.5