LAnnRuler::SetPoints

Summary

Defines the endpoints of the ruler object.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnRuler::SetPoints(pPoints, uCount)

Parameters

pANNPOINT pPoints

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.

L_UINT uCount

The number of points in the array that you specify in the pPoints parameter.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

You call this function once, passing an array of points.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnRuler::GetDistance.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.