Specifies the shape of the ImageViewerSpyGlassInteractiveMode spy glass.
public enum ImageViewerSpyGlassShape
public enum class ImageViewerSpyGlassShape sealed
0 |
None |
(0) None
|
1 |
Rectangle |
(1) The glass is a rectangle.
|
2 |
RoundRectangle |
(2) The glass is round rectangle.
|
3 |
Ellipse |
(3) The glass is an ellipse.
|
Used as the value for the ImageViewerSpyGlassInteractiveMode.Shape property.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
_imageViewer.InteractiveModes.BeginUpdate();
var spyGlass = new ImageViewerSpyGlassInteractiveMode();
spyGlass.BackgroundBrush = new SolidBrush(Color.FromArgb(128, Color.Yellow));
spyGlass.BackgroundBrush = Brushes.Yellow;
spyGlass.AutoItemMode = ImageViewerAutoItemMode.AutoSet;
spyGlass.EnsureVisible = false;
_imageViewer.InteractiveModes.Add(spyGlass);
_imageViewer.InteractiveModes.EndUpdate();
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