Opacity value used to render the floater while this mode is working.
public double FloaterOpacity { get; set; }
public:
property double FloaterOpacity
{
double get()
void set(double value)
}
The opacity value used to render the floater while this mode is working. Default value is 1.0 (fully opaque).
You can change this value to 0.5 for example to show a ghost image of the floater when the user clicks and drags it over the viewer.
This value is multiplied by the current ImageViewerItem.FloaterOpacity value when the mode is dragging and zooming the floater. When working stops, the original value is set back into ImageViewerItem.FloaterOpacity.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
_imageViewer.InteractiveModes.BeginUpdate();
_imageViewer.InteractiveModes.Add(new ImageViewerFloaterInteractiveMode
{
ZoomKeyModifier = Keys.None,
IsEnabled = true,
FloaterOpacity = 0.5
});
_imageViewer.InteractiveModes.EndUpdate();
ImageViewerFloaterInteractiveMode Class
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