Gets or sets the ImageViewerInteractiveMode that the viewer control should use to process default input events.
public virtual Leadtools.Controls.ImageViewerInteractiveMode DefaultInteractiveMode {get; set;}
Public Overridable Property DefaultInteractiveMode As Leadtools.Controls.ImageViewerInteractiveMode
public virtual Leadtools.Controls.ImageViewerInteractiveMode DefaultInteractiveMode {get; set;}
@property (nonatomic, strong, nullable) LTImageViewerInteractiveMode *defaultInteractiveMode
get_DefaultInteractiveMode();
set_DefaultInteractiveMode(value);
Object.defineProperty('DefaultInteractiveMode');
The interactive mode for default input events in the viewer control. The default value is null.
To use an interactive mode, you create an instance of any of the derived classes and assign it to the viewer using one of the following methods:
ImageViewer.DefaultInteractiveMode: Assigns the interactive mode to be set as the default one.
ImageViewer.TouchInteractiveMode: Assigns the interactive mode in devices that support touch.
ImageViewer.MouseWheelInteractiveMode: Assigns the interactive mode to the mouse wheel.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Controls;
void DefaultInteractiveModeExample(int i)
{
const int CenterAt = 1;
const int MagnifyGlass = 2;
switch (i)
{
case CenterAt:
//set interactive Mode to be CenterAt
_viewer.DefaultInteractiveMode = new ImageViewerCenterAtInteractiveMode();
break;
case MagnifyGlass:
//set interactive Mode to be Magnify Glass
_viewer.DefaultInteractiveMode = new ImageViewerMagnifyGlassInteractiveMode();
break;
}
}
Products |
Support |
Feedback: DefaultInteractiveMode Property - OLeadtools.Controls |
Introduction |
Help Version 19.0.2017.3.23
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.