Sets the value of the metadata.
Namespace:
FreeImageAPI.MetadataAssembly: 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
| Exception | Condition |
|---|---|
| System..::.NotSupportedException | The data type is not supported. |
| System..::.ArgumentNullException | value is null. |
| System..::.ArgumentException | value and type to not fit. |