AnnSetNodes method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetNodes(OLE_HANDLE hObject, BOOL bShowNodes, short nGapNodes, BOOL bSelected);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Determines which nodes will be shown for a Polygon, Polyline or Freehand object.

This method can be called only for Polygon, Polyline, Freehand, Freehand Hot Spot, Automation, or Container objects.

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, nGapNodes will be ignored since the nodes will not be shown anyway.

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

See Also

Elements:  AnnGetNodes method

Topics:  Annotations (Document/Medical only): Object Manipulation