LVectorBase::SetPan

#include "ltwrappr.h"

virtual L_INT LVectorBase::SetPan(pPan)

const POINT *pPan;

/* pointer to a structure */

Sets the new pan values.

Parameter

Description

pPan

Pointer to a POINT structure that contains the new pan coordinates.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will set the physical pan values. These pan values are in pixels. This function can be used to scroll the vector image.

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::GetPan, LVectorBase::SetViewport, LVectorBase::GetViewport

Topics:

Panning Vector Images

 

Vector Images: Viewing a Vector Image

Example

For an example, refer to LVectorBase::GetPan.