Provides information about the first instance of a tag that matches the metadata model.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FIMETADATA FindFirstMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, out MetadataTag tag ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FindFirstMetadata ( _ model As FREE_IMAGE_MDMODEL, _ dib As FIBITMAP, _ <OutAttribute> ByRef tag As MetadataTag _ ) As FIMETADATA |
| Visual C++ |
|---|
public: static FIMETADATA FindFirstMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, [OutAttribute] MetadataTag^% tag ) |
Parameters
- model
- Type: FreeImageAPI..::.FREE_IMAGE_MDMODEL
The model to match.
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- tag
- Type:
FreeImageAPI.Metadata..::.MetadataTag
%
Tag that matches the metadata model.
Return Value
Unique search handle that can be used to call FindNextMetadata or FindCloseMetadata. Null if the metadata model does not exist.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | dib is null. |