#include "ltwrappr.h"
POINT LVectorWindow::ScrollBy(dx, dy)
L_INT dx; |
horizontal distance |
L_INT dy; |
vertical distance |
Scrolls the displayed vector by the specified amount.
Parameter |
Description |
dx |
The distance to scroll the vector horizontally. |
dy |
The distance to scroll the vector vertically. |
A point structure that holds the actual horizontal and vertical distances by which the vector was scrolled.
The units for dx and dy are in pixels, with the top, left pixel of the image being 0,0. This function can be used with or without scrollbars.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Functions: |
Assumes pVectorWindow points to a valid LVectorWindow object.
L_INT LVectorWindow__ScrollByExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
UNREFERENCED_PARAMETER(hWndParent);
//Scroll horizontally three pixels
pVectorWindow->ScrollBy(3, 0);
return SUCCESS;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET