SftButton/OCX 2.5

SftPictureObject.IsEmpty Property

Softel vdm, Inc.

Returns whether the image object is empty.

Syntax       

Get

VB.NET

Boolean = object.IsEmpty  As Boolean

VB

Boolean = object.IsEmpty  As Boolean

C#.NET

bool Boolean = object.IsEmpty;

VC++

VARIANT_BOOL Boolean = object->IsEmpty;
VARIANT_BOOL Boolean = object->GetIsEmpty();

C

HRESULT object->get_IsEmpty(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.IsEmpty   : WordBool;

object

A SftPictureObject object.

Boolean

Returns whether the image object is empty.

Boolean

Description

True

The SftPictureObject object is empty and no image is assigned.

False

The SftPictureObject object is not empty.  The SftPictureObject.Type property can be used to determine the image contained in the object.

Comments

The IsEmpty property returns whether the image object is empty.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com