LVectorBase::GetOrigin

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LVectorBase::GetOrigin(pOrigin)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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