FreeImage.NET Class Library Reference
FreeImageGetMetadata Method (FREE_IMAGE_MDMODEL, FIBITMAP, String, MetadataTag) |
Retrieve a metadata attached to a FreeImage bitmap.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool GetMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, string key, out MetadataTag tag )
Parameters
- model
- Type: FreeImageAPIFREE_IMAGE_MDMODEL
The metadata model to look for. - dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - key
- Type: SystemString
The metadata field name. - tag
- Type: FreeImageAPI.MetadataMetadataTag
A MetadataTag structure returned by the function.
Return Value
Type: BooleanReturns true on success, false on failure.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
See Also