LBitmapWindow::EnableCenterOnZoom

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableCenterOnZoom(bCenter)

L_BOOL bCenter;

/* flag that indicates whether to enable ceentering on zoom */

Enables or disables centering on zoom for the class object's window.

Parameter

Description

bCenter

Flag that indicates whether to enable or disable center on zoom. Possible values are:

 

Value

Meaning

 

TRUE

Enable center on zoom.

 

FALSE

Disable center on zoom.

Returns

The previous state.

Comments

This setting is enabled by default.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTISI
LTSCR
LTTWN

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:

Class Members

Example

For an example, refer to LBitmapWindow::IsCenterOnZoomEnabled.