Sets the value of the metadata.

In case value is of byte or byte[] FIDT_UNDEFINED is assumed.

In case value is of uint or uint[] FIDT_LONG is assumed.

Namespace:  FreeImageAPI.Metadata
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public bool SetValue(
	Object value
)
Visual Basic (Declaration)
Public Function SetValue ( _
	value As Object _
) As Boolean
Visual C++
public:
bool SetValue(
	Object^ value
)

Parameters

value
Type: System..::.Object
New data of the metadata.

Return Value

True on success, false on failure.

Exceptions

ExceptionCondition
System..::.NotSupportedException The data format is not supported.
System..::.ArgumentNullException value is null.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also