LBitmapWindow::ScrollTo (original) (raw)

Summary

Scrolls the displayed bitmap to the specified position.

Syntax

#include "ltwrappr.h"

POINT LBitmapWindow::ScrollTo(x, y)

Parameters

L_INT x

The x position to which to scroll the bitmap.

L_INT 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

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::Repaint.

LEADTOOLS Raster Imaging C++ Class Library Help