Provides information about the first instance of a tag that matches the metadata model.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static FIMETADATA FindFirstMetadata(
	FREE_IMAGE_MDMODEL model,
	FIBITMAP dib,
	out FITAG tag
)
Visual Basic (Declaration)
Public Shared Function FindFirstMetadata ( _
	model As FREE_IMAGE_MDMODEL, _
	dib As FIBITMAP, _
	<OutAttribute> ByRef tag As FITAG _
) As FIMETADATA
Visual C++
public:
static FIMETADATA FindFirstMetadata(
	FREE_IMAGE_MDMODEL model, 
	FIBITMAP dib, 
	[OutAttribute] FITAG% tag
)

Parameters

model
Type: FreeImageAPI..::.FREE_IMAGE_MDMODEL
The model to match.
dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
tag
Type: FreeImageAPI..::.FITAG %
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.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also