AnnoObjGetLayer

#include “BiAnno.h”

long CALLBACK AnnoObjGetLayer(INT_PTR pAnno)

Description

Returns the layer number of the selected annotation object. The layer numbering is 0-based and the default layer is 0 (zero).

Parameters

INT_PTR

pAnno

Annotation handle

Return value

The layer number of the selected object

Programming Notes

If there is no selected annotation object, the function returns ANNO_UNDEF (-1). See AnnoObjSetLayer for more information.

Code Example

None