Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewer Class : HasImage Property |
public virtual bool HasImage {get;}
'Declaration
Public Overridable ReadOnly Property HasImage As Boolean
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.