ImageProperties 1.0 control documentation

Creates new ImagePropertyItem with specified id and type.

[Visual�Basic]
Overloads�Public�Function�Add( _
���ByVal id�As�Integer,�_
���ByVal type�As�PropertyType�_
)�As�ImagePropertyItem
[C#]
public�ImagePropertyItem�Add(
���intid,
���PropertyTypetype
);

Parameters

id
Id of new ImagePropertyItem.
type
Type of new ImagePropertyItem. Value should be one of PropertyType enumeration.

Return Value

Reference to ImagePropertyItem that was created or exists.

Remarks

If ImagePropertyItem with specified id not exist at Image then creates it and returns reference to created ImagePropertyItem object; Otherwise returns reference to existing ImagePropertyItem object.

Method don't writes new property to Image! Set needed Value and call SetPropertyToImage() method to set new property to the Image.

See Also

ImageProperties Class | ElementIT.ImageProperties Namespace | ImageProperties.Add Overload List