Enables or disables automatic scrolling of the displayed vector.
#include "ltwrappr.h"
L_BOOL LVectorWindow::EnableAutoScroll(bAutoScroll)
Flag that indicates whether to enable auto scrolling of the vector displayed by the vector window. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable auto scrolling. |
FALSE | Disable auto scrolling. |
The previous state.
When auto scrolling is enabled, the class object's window will display scrollbars when necessary. In addition, it will automatically handle scrolling the vector, based on the scroll messages generated for those scrollbars.
This setting is enabled by default.
Assumes pVectorWindow points to a valid LVectorWindow object.
L_INT LVectorWindow__EnableAutoScrollExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
UNREFERENCED_PARAMETER(hWndParent);
//Toggles the AutoScroll
L_BOOL bAutoScrollState = pVectorWindow->IsAutoScrollEnabled();
pVectorWindow->EnableAutoScroll(!bAutoScrollState);
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