Editions
Related Functions
Example
The IN_GetFormatList function returns a list of valid formats for the specified file type within your version of Imagenation.
Syntax
int IN_GetFormatList ( fileType, maxSize, pNumberFormats, pFormats )
|
Input Parameters |
Values |
Meaning |
|
USHORT fileType |
IN_FORMATS_* RASTER_BILEVEL (1) bilevel raster RASTER_8BIT (2) 8-bit color raster RASTER_24BIT (4) 24-bit color raster VECTOR (8) vector MULTIPAGEMULITLAYER (16) multipages or multilayers | |
|
USHORT maxSize |
the maximum number of USHORT values in pFormats | |
|
Values |
Meaning | |
|
USHORTPTR pNumberFormats |
pointer to the total number of file formats returned in the pFormats array | |
|
USHORTPTR pFormats |
pointer to: File Formats |
array of file formats |
Remarks
To see a complete list of output formats for your configuration, you could write a program to get the list and print it. Because you have access to this list, you could display a dialog box and permit the user to select the format before saving the file.
Release information
Added to Imagenation for Windows in Release 4.40.
As of Release 5.1, also available in Imagenation for UNIX.
See also