Description

Get a property from the properties collection attached to the image. Same as Properties.get_Item.

Property type

A Variant value.  

Syntax

object.Property(NameID, [NameSpace])

The Property Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImage.
NameIDRequired. A Variant value.

A property name as a String or index as a Long.

NameSpaceOptional. A String value.

Optional namespace. Namespaces can be used to name conficts between different properties with identical names.

Remarks

Images have properties built into their interface (e.g. Name), as well as dynamic properties accessed via a name or an ID. Dynamic properties are kept in a collection and can be queried, added, removed, by name or by ID. User properties can be isolated from other properties of similar name through a NameSpace.

This property is exposed as VARIANT holding the property found. Property could be a numerical value, an array, a string, an interface pointer, or any type supported by VARIANT.is not found, the output variant is empty.

Exceptions

E_NOINTERFACE if the property is not found.