ImageProperties 1.0 control documentation

Indicates if Value contains single item data.

[Visual Basic]
Public ReadOnly Property IsSingleItemValue As Boolean
[C#]
public bool IsSingleItemValue {get;}

Property Value

true if Value is the single item; otherwise, false.

Remarks

Use this property before reading Value for correct convertion Value object to needed type: single item or array.

Example:

if(property.Type==Int16Array)
{
       if(property.IsSingleItemValue)
       {
           Int16 val = (Int16)property.Value;
       }
       else
       {
           Int16[] val = (Int16[])property.Value;
       }

}

See Also

ImagePropertyItem Class | ElementIT.ImageProperties Namespace