AnnoObjSaveSelected

#include “BiAnno.h”

BOOL CALLBACK AnnoObjSaveSelected( INT_PTR pAnno, LPSTR szFileName)

Description

This function saves the selected annotation object to the file provided by the user. If the file does not exist, the function creates it. If the file exists, the function appends the selected annotation to the file.

Parameters

INT_PTR

PAnno

Annotation handle

LPSTR

szFileName

String containing path and name of the output file.

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

This function can be used to append existing annotation files. For example, if there is a rectangle object saved in the file, and the user saves a selected circle object, both the rectangle and the circle will exist in the file after saving.

Code Example

None