#include “BiAnno.h”
void CALLBACK AnnoObjSetLayer(INT_PTR pAnno, long lLayer)
Description
Sets the layer number of the selected annotation object. Every new object inherits the active layer number set by the AnnoSelectLayer function. If you want to place an existing object to another layer, choose this function, otherwise it is unnecessary. The layer numbering is 0-based and the default layer is 0 (zero).
Parameters
|
INT_PTR |
pAnno |
Annotation handle |
|
long |
lLayer |
Layer number to set |
Return value
None
Programming Notes
The layer number is a long type, it’s minimal value is 0 and it’s maximal value is 65535 due to the storage. You cannot specify numbers that exceed these limits. If you do so anyway, the new number will not be set, and the old layer will function in the future as well. If there is no selected annotation object, the function does nothing.
Code Example
None