Sets the value of the metadata.
Namespace:
FreeImageAPI.MetadataIn case value is of byte or byte[] FIDT_UNDEFINED is assumed.
In case value is of uint or uint[] FIDT_LONG is assumed.
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
Exception | Condition |
---|---|
System..::.NotSupportedException | The data format is not supported. |
System..::.ArgumentNullException | value is null. |