virtual L_INT LAnnCrossProduct::SetPoints(pPoints, uCount=5)
Defines the endpoints of the ruler object.
Pointer to the array of LEADTOOLS ANNPOINT structures that specifies the endpoints of the annotation.
The ANNPOINT structure is like a Windows POINT structure, except that it uses double-precision floating-point values.
Coordinates of an object's points are relative to its container object. The coordinates are interpreted using the container's scaling factors and offsets, which are described in Low-Level Coordinate System for Annotations.
The number of points in the array that you specify in the pPoints parameter.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
You call this function once, passing an array of points.
For an example, refer to LAnnCrossProduct::GetDistance.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries