#include "ltwrappr.h"
virtual L_INT LAnnProtractor::SetPoints(pPoints, uCount=3)
pANNPOINT pPoints; |
pointer to an array |
L_UINT uCount; |
number of points in the array |
Defines the vertices of the protractor object.
Parameter |
Description |
pPoints |
Pointer to the array of LEADTOOLS ANNPOINT structures that specifies the vertices 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. |
uCount |
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.
When setting the points of a protractor in the array, the vertices must be given in a specific order. The order of the vertices in the array is shown below:
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. |
Win32, x64.
Functions: |
|
Topics: |
Annotation Functions: Getting and Setting Geometric Properties |
|
Annotation Functions: Using Window Coordinates to Define an Object |
|
|
|
For an example, refer to LAnnProtractor::GetDistance.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document