MetadataModel.AddTag Method (MetadataTag)

FreeImage.NET

MetadataModelAddTag Method (MetadataTag)
Adds new tag to the bitmap or updates its value in case it already exists. Key will be used as key.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool AddTag(
	MetadataTag tag
)

Parameters

tag
Type: FreeImageAPI.MetadataMetadataTag
The tag to add or update.

Return Value

Type: Boolean
Returns true on success, false on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptiontag is null.
ArgumentException The tags model differs from this instances model.
See Also