#include “BiAnno.h”
WORD CALLBACK AnnoGetLayers( INT_PTR PAnno,
LPWORD lpLayers,
WORD wMaxLayer )
Description
Retrieves the viewable layer numbers. Almost all of the annotation functions are operating on the viewable layers. The layer numbering is 0-based and the default layer is 0 (zero).
Parameters
|
INT_PTR |
pAnno |
Annotation handle |
|
LPWORD |
lpLayers |
Pointer to an array, which will receive the 16 bit layer numbers |
|
WORD |
wMaxLayer |
The maximum number of data items (layers) to receive (based on the allocated memory) |
Return value
Number of data items (layers) actually copied into the array(not bytes). Return value 0 (zero) indicates that all of the layers used in the annotation are visible and editable (this is the default).
Programming Notes
See AnnoSetLayers for more information.
Code Example
None