Gets a value that indicate if the viewer currently has an image (single item mode).
public virtual bool HasImage { get; }
Public Overridable ReadOnly Property HasImage() As Boolean
Get
public:
virtual property bool HasImage
{
bool get()
}
true if the viewer currently has an image; otherwise, false.
The viewer has an image when the value of ImageSize is not empty (0,0). In other words, if any of ImageUrl, Image or SvgDocument has been set to a valid value or if the user set the value of ImageSize directly.
This is a helper property for applications that uses ImageViewer in single item mode. It is a shortcut to ActiveItem. For more information, refer to Image Viewer in Single Item Mode.
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