FreeImage.NET Class Library Reference
FreeImageFindFirstMetadata Method (FREE_IMAGE_MDMODEL, FIBITMAP, MetadataTag) |
Provides information about the first instance of a tag that matches the metadata model.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIMETADATA FindFirstMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, out MetadataTag tag )
Parameters
- model
- Type: FreeImageAPIFREE_IMAGE_MDMODEL
The model to match. - dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - tag
- Type: FreeImageAPI.MetadataMetadataTag
Tag that matches the metadata model.
Return Value
Type: FIMETADATAUnique search handle that can be used to call FindNextMetadata or FindCloseMetadata. Null if the metadata model does not exist.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
See Also