Scrolls the displayed vector by the specified amount.
#include "ltwrappr.h"
POINT LVectorWindow::ScrollBy(dx, dy)
The distance to scroll the vector horizontally.
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.
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;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document