LAnnAutomation::GetNodes

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::GetNodes(pbShowNodes, puGapNodes)

L_BOOL L_FAR * pbShowNodes;

/* address of the variable to be updated */

L_UINT L_FAR * puGapNodes;

/* address of the variable to be updated */

Gets information on how to display the nodes of the annotation object in design mode. This function is available in the Document/Medical Toolkits.

Parameter

Description

pbShowNodes

Address of the variable to be updated with a value that indicates whether to show the nodes. Pass NULL if you do not wish to retrieve this information. Possible values are:

 

Value

Meaning

 

True

Show the nodes.

 

False

Do not show the nodes.

puGapNodes

Address of the variable to be updated with a value that represents the number of nodes to skip before displaying another node (Pass NULL if you do not wish to retrieve this information). Possible values are:

 

Value

Meaning

 

0

Show every node.

 

1

Show a node, skip a node, show a node …

 

.

 

 

.

 

 

.

 

 

.

 

 

9

Show a node, skip the next nine, …

Comments

Note:

The last node is always shown. Therefore, using a large value for puGapNodes will probably result in only the first and last nodes being shown.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LAnnAutomation::SetNodes

Topics:

Annotation Functions: Object Properties

 

Annotation Objects - Default Values

 

Annotation Objects - Automated Features

Example

For an example, refer to LAnnAutomation::SetNodes.