Sets the value of the metadata.

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

Syntax

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

Parameters

value
Type: System..::.Object
New data of the metadata.
type
Type: FreeImageAPI..::.FREE_IMAGE_MDTYPE
Type of the data.

Return Value

True on success, false on failure.

Exceptions

ExceptionCondition
System..::.NotSupportedException The data type is not supported.
System..::.ArgumentNullException value is null.
System..::.ArgumentException value and type to not fit.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also