Indicates whether to enable panning and zooming with the keyboard.
public bool IsKeyboardEnabled { get; set; }
public:
property bool IsKeyboardEnabled
{
bool get()
void set(bool value)
}
true to enable panning and zooming with the keyboard, otherwise; false. Default value is true.
This value is used only when the platform has keyboard support.
When the value of IsKeyboardEnabled is true, then the viewer will pan and zoom using the following keys:
Key | Description |
---|---|
If the ZoomKeyModifier is pressed, zooms the viewer in. Otherwise, pans the viewer one line up (or one page if PageKeyModifier is pressed). |
|
Pans the viewer one line to the left (or one page if PageKeyModifier is pressed). |
|
Pans the viewer one line to the right (or one page if PageKeyModifier is pressed). |
|
Pans the viewer one page up. |
|
Pans the viewer one page down. |
|
Pans the viewer to the minimum allowed value (top-left). |
|
Pans the viewer to the maximum allowed value (bottom-right). |
The values of a "page" is calculated as follows:
If the viewer has more than one item, then "page" is the width or height of the current largest visible item (GetLargestVisibleItem.
If the viewer has one item, then "page" is the current view area width or height ViewBounds.
The value of "line" is always tenth of "page".
ImageViewerPanZoomInteractiveMode Class
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