Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorBase::SetCamera

Show in webframe

#include "ltwrappr.h"

virtual L_INT LVectorBase::SetCamera(pVectorCamera)

const pVECTORCAMERA pVectorCamera;

/* pointer to a structure */

Sets the new camera.

Parameter

Description

pVectorCamera

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

Returns

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

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LVectorBase::GetCamera, LVectorBase::Paint

Topics:

Manipulating the Camera

 

Vector Images: Viewing a Vector Image

Example

For an example, refer to LVectorBase::GetCamera.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.