ITT Rule IDL Version 7.0 Manual de usuario Pagina 252

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 429 430

Comentarios a estos manuales

Sin comentarios