ITT Rule IDL Version 7.0 Bedienungsanleitung Seite 252

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 430
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 251
252 Chapter 9: Creating a File Reader
Example: TIFF File Reader iTool Developers Guide
END
Discussion
The GetProperty method for our TIFF file reader supports a single property named
IMAGE_INDEX. If this property is specified in the call to the GetProperty method,
its value is retrieved from the _index instance data field. Any other properties
included in the method call are passed to the superclass’ GetProperty method.
SetProperty Method
PRO example1_readtiff::SetProperty, IMAGE_INDEX = image_index, $
_REF_EXTRA = _extra
IF (N_ELEMENTS(image_index) GT 0) THEN $
self._index = image_index
IF (N_ELEMENTS(_extra) GT 0) THEN $
self->IDLitReader::SetProperty, _EXTRA = _extra
END
Discussion
The SetProperty method for our TIFF file reader supports a single property named
IMAGE_INDEX. If this property is specified in the call to the SetProperty method,
its value is placed in the
_index instance data field. Any other properties included in
the method call are passed to the superclass’ SetProperty method.
Seitenansicht 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 429 430

Kommentare zu diesen Handbüchern

Keine Kommentare