LVectorBase::GetOrigin

#include "ltwrappr.h"

virtual L_INT LVector::GetOrigin(pOrigin)

Gets the origin point for the class object's associated vector.

Parameters

pVECTORPOINT pOrigin

Pointer to a VECTORPOINT structure to be updated with the origin point.

Returns

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

Comments

The origin of a vector drawing may change whenever new objects are added. To insure that the drawing is centered around its origin, call LVectorBase::SetOrigin(NULL) after adding objects.

The origin point may be set using LVectorBase::SetOrigin.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LVectorBase::SetOrigin.

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

LEADTOOLS Vector C++ Class Library Help