LBitmapWindow::ScrollTo

#include "ltwrappr.h"

POINT LBitmapWindow::ScrollTo(x, y)

L_INT x;

the x position to which to scroll the bitmap

L_INT y;

the y position to which to scroll the bitmap

Scrolls the displayed bitmap to the specified position.

Parameter

Description

x

The x position to which to scroll the bitmap.

y

The y position to which to scroll the bitmap.

Returns

A point structure that holds the actual horizontal and vertical distances by which the bitmap was scrolled.

Comments

The units for x and y are in pixels, with the top, left pixel of the image being 0,0.

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.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help