Справочник Пользователя для ITT Rule IDL Version 7.0

Скачать
Страница из 430
Chapter 10: Creating a File Writer
255
iTool Developer’s Guide
Predefined iTool File Writers
Predefined iTool File Writers
The iTool system distributed with IDL includes a number of predefined file writers. 
You can include these file writers in an iTool directly by registering the class with 
your iTool (as described in 
 on page 269). You can also 
create a new file writer class based on one of the predefined classes.
IDLitWriteASCII
The iTools ASCII file writer uses the IDL PRINTF procedure to print strings to a file.
Registered Properties
STRING_SEPARATOR — 
A string that is used to separate the values stored in the 
ASCII file.
USE_DEFAULT_FORMAT — 
A boolean value that specifies whether a default 
format string should be used.
STRING_FORMAT — 
A string specifying the format string to be used when writing 
the data to the ASCII file. See 
 (Application Programming) for a discussion of format codes. 
Note
The format code should not include parentheses.
IDLitWriteBinary
The iTools Binary file writer uses the IDL WRITEU procedure to write unformatted 
binary data to a file.
Registered Properties
None
IDLitWriteBMP
The iTools BMP file writer uses the IDL WRITE_BMP procedure to write an image 
and its color table vectors to a Microsoft Windows Version 3 device independent 
bitmap file (
.bmp
). 
Registered Properties
BIT_DEPTH — 
Bit depth at which to write the image.