Unique ID of this mode.
public abstract int Id { get; }
public:
virtual property int Id
{
int get() abstract;
}
The unique ID of this mode.
Each ImageViewerInteractiveMode must have its own unique ID. This value can be used with FindById and EnableById to quickly find or enable a mode.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
public void ImageViewerInteractiveModesFindById_Example()
{
ImageViewerPanZoomInteractiveMode panZoom = _imageViewer.InteractiveModes.FindById(ImageViewerInteractiveMode.PanZoomModeId) as ImageViewerPanZoomInteractiveMode;
ControlInertiaScrollOptions inertiaOptions = panZoom.InertiaScrollOptions;
inertiaOptions.IsEnabled = true;
panZoom.InertiaScrollOptions = inertiaOptions;
}
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