FreeImage.NET Class Library Reference
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: BooleanTrue on success, false on failure.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The data type is not supported. |
ArgumentNullException | value is null. |
ArgumentException | value and type to not fit. |
See Also