Image to be displayed in the viewer (single item mode).
public virtual RasterImage Image { get; set; }
public:
virtual property RasterImage^ Image
{
RasterImage^ get()
void set(RasterImage^ value)
}
The image to be displayed in the viewer (single item mode). Default value is null.
This is a helper property for applications that uses ImageViewer in single item mode. It is a shortcut to Image of ActiveItem. For more information, refer to Image Viewer in Single Item Mode.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
using Leadtools.Svg;
public void ImageViewerItemImage_Example()
{
ImageViewerItem item = _imageViewer.GetLargestVisibleItem(ImageViewerItemPart.Content);
if (item != null)
{
var image = item.Image.Clone();
new InvertCommand().Run(image);
item.Image = image;
item.SvgDocument = null;
}
}
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