Gets the number of vertices (corner points) in an object.
L_LTANN_API L_INT L_AnnGetPointCount(hObject, puCount)
Handle to the annotation object.
Address of the variable to be updated with the number of vertices.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Before calling this function, you must declare a variable of data type L_UINT. Then, pass the address of the variable in the
puCount parameter. This function will update the variable with the number of vertices.
L_AnnGetPointCount works only with the following types of objects:
For an ANNOBJECT_TEXTPOINTER object, puCount is updated with the value 5.
For an example, refer to L_AnnGetPoints.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries