AnnSetNodes method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetNodes(HANNOBJECT hObject, bool bShowNodes, unsigned uGapNodes, bool bSelected);

Delphi Syntax

Function AnnSetNodes(hObject: HANNOBJECT; bShowNodes: Boolean; uGapNodes: L_UINT; bSelected: Boolean): L_INT;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Determines which nodes of the annotation object should display when in design mode.

This method is valid for the following annotation objects:

ANNOBJECT_CURVE

ANNOBJECT_CURVECLOSED

ANNOBJECT_FREEHAND

ANNOBJECT_FREEHANDHOTSPOT

ANNOBJECT_POLYGON

ANNOBJECT_POLYLINE

In addition, the Automation object (ANNOBJECT_AUTOMATION) stores node settings along with the other object default settings.

If hObject is a Polygon, Polyline, Freehand Hot Spot, or Freehand object, this method determines how the nodes for the object will be displayed in design mode.

If hObject is an Automation object, this method determines how the nodes will be displayed for the next Polygon, Polyline, Freehand Hot Spot, or Freehand object created in automated mode.

If hObject is a Container object, this method determines how the nodes of the Polygons, Polylines, Freehand Hot Spot, or Freehand objects within the container will be displayed.

If bShowNodes is FALSE, uGapNodes will be ignored since the nodes will not be shown.

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

See Also

Elements

AnnSetNodes method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Getting and Setting Node Properties

 

Altering Annotation Object Settings