QPx_GetExportTypes
| QPx_GetExportTypes(exportTypes; exportNames; mimeTypes; fileExtensions):error |
|
exportTypes |
Array string |
Export types |
|
exportNames |
Array string |
Export names |
|
mimeTypes |
Array string |
Mime types |
|
fileExtensions |
Array string |
File extensions |
|
error |
Longint |
Error result |
Returns information on the file types that can be exported.
All information is returned in the arrays passed as parameters. For each export file format, a row in the set of arrays describes the following:
| exportTypes | The file type for the exported image (ex. "8BPS") |
| exportNames | The name of the file format (ex. "Photoshop") |
| mimeTypes | The MIME type for the export format (ex. "image/x-photoshop") |
| fileExtensions | The file extension for the export format (ex. "psd") |
Example
ARRAY STRING(4;gExportTypes;0)
ARRAY STRING(63;gExportNames;0)
ARRAY STRING(255;gExportMime;0)
ARRAY STRING(63;gExportExtensions;0)
$err:=QPx_GetExportTypes (gExportTypes;gExportNames;gExportMime;gExportExtensions)
|