LVectorBase::SetCamera

Summary

Sets the new camera.

Syntax

#include "ltwrappr.h"

virtual L_INT LVectorBase::SetCamera(pVectorCamera)

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

See Also

Functions

Topics

Example

For an example, refer to LVectorBase::GetCamera.

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.