Indicates this mode hit-test state.
Object.defineProperty(ImageViewerInteractiveMode.prototype, 'hitTestState',
get: function(),
set: function(value)
)
hitTestState: boolean;
true if this mode hit-test state is on, otherwise; false.
HitTestState can be used to create an interactive mode that works over an area of interest in the viewer.
Run the example. The cursor changes to a crosshair when it is over the red rectangles.
Start with the ImageViewer example, remove all the code inside the example function (search for the "// TODO: add example code here" comment) and insert the following code:
var interactiveModeCursor = "";
if (this._imageViewer.hitTestStateInteractiveMode != null) {
interactiveModeCursor = this._imageViewer.hitTestStateInteractiveMode.hitTestStateCursor;
}
if (interactiveModeCursor != null)
this._imageViewer.workingInteractiveMode.workingCursor = interactiveModeCursor;
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