#include “BiAnno.h”
void CALLBACK AnnoSelectLayer( INT_PTR pAnno, long lLayer )
Description
Selects the active layer for new annotation objects. Almost all of the annotation functions are operating on the viewable layers. The active layer must be one of the viewable layers. 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. The active layer is for new objects only. Other objects also can be manipulated, if their layer number is in the layer list. You cannot change the active layer, if the number you pass to the AnnoSelectLayer function is not in the layer list entered by the AnnoSetLayers function. See AnnoSetLayers for more information.
Code Example
None