←Select platform

HasImage Property

Summary

Gets a value that indicates if the viewer currently has an image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual bool HasImage {get;} 
Public Overridable ReadOnly Property HasImage As Boolean 
public virtual bool HasImage {get;} 
@property (nonatomic, assign, readonly) BOOL hasImage 
public boolean hasImage() 
 get_HasImage();  

Property Value

true if the viewer currently has an image; otherwise, it is false.

Remarks

The viewer has an image when the value of ImageSize is not empty (0,0). In other words, if Image contains a valid image or if the user set the value of ImageSize directly.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)