EPI_changeAnnot


The EPI_changeAnnot routine change of any attribute of an annotation item, including the text, by specifying its ID. There is no need to place the relevant annotation under partition and the current partition index is not changed by this function. arc/circle specified through


BOOL APIENTRY EPI_changeAnnot(     HMODULE     hEagle,    // the Eagle handle     EPI_Item    handle,    // the ID of the annotation item     EPI_ANNOTATION annot,  // the annotation item     int mode,              // the change mode     int line,              // the line to change     char *new_text)        // the new text

Parameters

hEagle

value of Eagle handle, which can be obtained through the EPI_getEagleHandle function.

 

handle

the Eagle unique ID of the item whose data must be changed.

 

annot

the  structure containing the new information.

 

mode

the  selected alteration mode  where;

mode = 1   EDIT_LINE

mode = 2   INSERT_LINE

mode = 3   APPEND_LINE

mode = 4   DELETE_LINE

 

line

the  line which to change.

 

new_text

the  value of the new text.

Return Value

None.

Update Note

EPI_changeAnnot prototype has changed to allow for definition of the change mode.

See Also

EPI_getEagleHandle