Mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode.
public virtual Cursor HitTestStateCursor { get; set; }
public:
virtual property System::Windows::Forms::Cursor^ HitTestStateCursor
{
System::Windows::Forms::Cursor^ get()
void set(System::Windows::Forms::Cursor^ value)
}
The mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode. The default value is null.
HitTestState and HitTestStateCursor can be used with interactive modes that subscribe to the InteractiveService.Move event and indicate that the mousse cursor is over an area of interest by updating the state and changing the mouse cursor.
The cursor is set into the ImageViewer control. Also, the cursor will be set in any controls added by the user to the InteractiveService.UserControls collection.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
Cursor interactiveModeCursor = null;
if (_imageViewer.HitTestStateInteractiveMode != null)
{
interactiveModeCursor = _imageViewer.HitTestStateInteractiveMode.HitTestStateCursor;
}
if (interactiveModeCursor != null)
_imageViewer.Cursor = interactiveModeCursor;
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