←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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize