Gets or sets the region Leadtools.RasterRegionCombineMode to be used when the user creates regions interactively.
public virtual RasterRegionCombineMode InteractiveRegionCombineMode { get; set; }
public:
virtual property RasterRegionCombineMode InteractiveRegionCombineMode {
RasterRegionCombineMode get();
void set ( RasterRegionCombineMode );
}
public:
virtual property RasterRegionCombineMode^ InteractiveRegionCombineMode
{
RasterRegionCombineMode^ get()
void set(RasterRegionCombineMode^ value)
}
The Leadtools.RasterRegionCombineMode to be used when the user creates regions interactively.
using Leadtools.WinForms;
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing.Color;
using Leadtools.Drawing;
private void viewer_InteractiveModeChanged(object sender, EventArgs e)
{
RasterImageViewer viewer = sender as RasterImageViewer;
string s = string.Format("InteractiveMode changed to: {0}", viewer.InteractiveMode.ToString());
MessageBox.Show(s);
}
public void RasterImageViewer_InteractiveMode(RasterImageViewer viewer)
{
viewer.InteractiveModeChanged += new EventHandler(viewer_InteractiveModeChanged);
viewer.InteractivePan += new EventHandler<RasterViewerLineEventArgs>(viewer_InteractivePan);
viewer.InteractiveRegionType = RasterViewerInteractiveRegionType.Ellipse;
viewer.InteractiveRegionCombineMode = RasterRegionCombineMode.Set;
switch (viewer.InteractiveMode)
{
case RasterViewerInteractiveMode.None:
viewer.InteractiveMode = RasterViewerInteractiveMode.Pan;
break;
case RasterViewerInteractiveMode.Pan:
viewer.InteractiveMode = RasterViewerInteractiveMode.MagnifyGlass;
break;
case RasterViewerInteractiveMode.MagnifyGlass:
viewer.InteractiveMode = RasterViewerInteractiveMode.Region;
break;
case RasterViewerInteractiveMode.Region:
viewer.InteractiveMode = RasterViewerInteractiveMode.None;
break;
}
viewer.InteractiveModeChanged -= new EventHandler(viewer_InteractiveModeChanged);
}
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