MetadataTag.SetValue Method (Object, FREE_IMAGE_MDTYPE)

FreeImage.NET

MetadataTagSetValue Method (Object, FREE_IMAGE_MDTYPE)
Sets the value of the metadata.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool SetValue(
	Object value,
	FREE_IMAGE_MDTYPE type
)

Parameters

value
Type: SystemObject
New data of the metadata.
type
Type: FreeImageAPIFREE_IMAGE_MDTYPE
Type of the data.

Return Value

Type: Boolean
True on success, false on failure.
Exceptions
ExceptionCondition
NotSupportedException The data type is not supported.
ArgumentNullExceptionvalue is null.
ArgumentExceptionvalue and type to not fit.
See Also