ImageProperties 1.0 control documentation

Creates new ImagePropertyItem with specified id

[Visual Basic]
Overloads Public Function Add( _
   ByVal id As Integer _
) As ImagePropertyItem
[C#]
public ImagePropertyItem Add(
   int id
);

Parameters

id
Id for new ImagePropertyItem.

Return Value

Reference to ImagePropertyItem which 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 Type, Value of the property and call SetPropertyToImage() method to set property to the Image.

See Also

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