LBitmapWindow::ScrollBy

Summary

Scrolls the displayed bitmap by the specified amount.

Syntax

#include "ltwrappr.h"

POINT LBitmapWindow::ScrollBy(dx, dy)

Parameters

L_INT dx

The distance to scroll the bitmap horizontally.

L_INT dy

The distance to scroll the bitmap vertically.

Returns

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

Comments

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

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::Repaint.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.