L_AnnGetNodes

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnGetNodes(hObject, pbShowNodes, puGapNodes)

HANNOBJECT hObject;

handle to the annotation object

L_BOOL *pbShowNodes;

address of the variable to be updated

L_UINT *puGapNodes;

address of the variable to be updated

Gets information on how to display the nodes of the annotation object in design mode.

Parameter Description
hObject Handle of the annotation object.
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,

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function is valid for the following annotation objects:

Curve

Closed Curve

Freehand

Freehand Hotspot

Polygon

Polyline

In addition, the Automation object stores node settings along with the other object default settings

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.

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.

Platforms

Win32, x64.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help