#include “BiAnno.h”
long CALLBACK AnnoGetSaveDataExt( INT_PTR pAnno, void FAR *ptr, long lMax, LONG iAnnoPage, LONG iTIFFPage )
Description
Compiles the data of the annotations into a buffer provided by the user. This buffer can be used to save the data to the desired location, such as a separate file or a TIFF header. This function only saves the annotations that are on the page specified by iAnnoPage.
Parameters
|
INT_PTR |
pAnno |
Annotation handle |
|
void FAR |
* ptr |
Far pointer to the data buffer |
|
LONG |
lMax |
The user allocated buffer size |
|
LONG |
iAnnoPage |
Page number (zero-based integer). The function only saves the objects that are on this page. |
|
LONG |
iTIFFPage |
TIFF page number (zero-based integer). The objects will be displayed on the specified page after saving the annotations to a TIFF header. |
Return value
Number of bytes copied into the buffer. 0 or ANNO_UNDEF on error.
Programming Notes
None
Code Example
None