LVectorBase::SetCamera

#include "ltwrappr.h"

virtual L_INT LVectorBase::SetCamera(pVectorCamera)

Sets the new camera.

Parameters

const pVECTORCAMERA pVectorCamera

Pointer to a VECTORCAMERA structure that contains the new camera values. If this is NULL, the default camera values will be used.

Returns

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

Comments

This function will set the current viewing camera.

The camera is used with the view port to determine how the drawing will be projected into the destination DC when using LVectorBase::Paint.

If pVectorCamera is NULL, the default camera will be set. The default camera is defined as a top view camera.

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