New functions
The following functions were added to Imagenation for Windows in Release 7.2. They are not yet available in Imagenation for UNIX.
· IN_ChangeDetailLevel sets how much detail is displayed in a JPEG 2000 or MrSID file while it is open.
· IN_GetPrintOptions returns the print options currently set in the Print dialog box.
· IN_GetPrintToFileName returns the name of the file created when PRINT_TO_FILE is set as the flags value in IN_SetPrintOptionsEx function.
· IN_UnitConversion converts a value in one unit of measure to the equivalent value in a specified unit.
A previously unpublished function is now available.
· IN_GetVersionEx returns the full release number of Imagenation, as well as the required operating system.
Modified function
· IN_GetRasterInfoString was extended to support extracting the comment in a JPEG file.
Two new options were added that can be used with several functions when controlling the display of Imagenation or a document window. These options, IN_WIN_SHOW_TOPMOST (11) and IN_WIN_SHOW_NOTTOPMOST (12) allow the window to be displayed either on top of or behind any running application. For details, see IN_WIN_* values.
Callback Functions
Some previously unpublished C Callback Functions are now available.
· NotifyOperationIntercept callback
For a complete listing, see C Callback Functions.
File formats
Support for the following file formats was added to Imagenation for Windows in Release 7.2.
· Intergraph/Bentley Microstation Modeller DGN v8 (563)
· XGL XML-based 3D file format (567)
· ZGL compressed XGL file format (568)
· SolidWorks - parts (.sldprt) & assemblies (.sldasm), versions 97, 98, 99, 2000, and 2001 (566)
· MS Visio (.vsd), versions 5, 2000, and 2002, preview only (714)
For more information, see File Formats.
Several error messages have been added.
· -284 IN_ERR_INVALID_PARAM_FILE No filename (URL) specified for download.
· -285 IN_ERR_INVALID_USER_NAME Supplied user name is invalid for given FTP server.
· -286 IN_ERR_EXTENDED_ERROR Error occurred. Trace information will supply more information.
· -287 IN_ERR_FTP_DROPPED The FTP operation was not completed because the session was aborted.
· -288 IN_ERR_TRANSFER_IN_PROGRESS The requested operation cannot be made on the FTP session handle because an operation is already in progress.
· -289 IN_ERR_FILE_EXISTS The name of the file to write to has existed.
· -380 IN_ERR_NOT_A_3DFORMAT This is not a 3D file format.
· -381 IN_ERR_NOT_IN_3DMODE This view is not set to 3D Model mode.
· -382 IN_ERR_NO_OUTPUT_FILE The output file name is not valid for the current print job.
· 3 IN_WARN_INCOMPLETE_INFO Returned as much data as was possible for the given function.