LVectorBase::GetScale

#include "ltwrappr.h"

virtual L_INT LVectorBase::GetScale(pScale)

Gets the current scale values.

Parameters

pVECTORPOINT pScale

Pointer to a VECTORPOINT structure to be updated with the current scale values.

Returns

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

Comments

The scale values retrieved are those set using LVectorBase::SetScale, with pObject set to NULL and bSelectedOnly set to FALSE.

A scale value of 1.0 represents a scale factor of 100%; a scale value of 0.5 represents a scale factor of 50%; a scale value of 2.0 represents a scale factor of 200%, etc.

The default scale values are 1.0, 1.0, and 1.0 for the X, Y, and Z axes.

Required DLLs and Libraries

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

LEADTOOLS Vector C++ Class Library Help