#include “BiAnno.h”
long CALLBACK AnnoObjSetText(INT_PTR pAnno, LPSTR lpStr)
Description
Sets the new text associated with the selected A_NOTE object.
Parameters
|
INT_PTR |
pAnno |
Annotation handle |
|
LPSTR |
lpStr |
Pointer to the new string |
Return value
The number of characters in the note or ANNO_UNDEF, if the selected object is not of A_NOTE type.
Programming Notes
The function does not append the new text to the existing text; it will simply overwrite the previous one.
Code Example
None