LBitmapWindow::ZoomToRect

#include "ltwrappr.h"

L_INT LBitmapWindow::ZoomToRect(ZoomRect)

RECT& ZoomRect;

/* rectangle that contains values relative to the client area */

Zooms the specified rectangle to the client area of the class object's window.

Parameter

Description

ZoomRect

Rectangle in the current client area to be zoomed to fit the client area of the window.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The ZoomRect parameter is passed by reference and is a required parameter.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
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.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LBitmapWindow::Repaint.