Retrieve a metadata attached to a dib.

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

Syntax

C#
public static bool GetMetadata(
	FREE_IMAGE_MDMODEL model,
	FIBITMAP dib,
	string key,
	out FITAG tag
)
Visual Basic (Declaration)
Public Shared Function GetMetadata ( _
	model As FREE_IMAGE_MDMODEL, _
	dib As FIBITMAP, _
	key As String, _
	<OutAttribute> ByRef tag As FITAG _
) As Boolean
Visual C++
public:
static bool GetMetadata(
	FREE_IMAGE_MDMODEL model, 
	FIBITMAP dib, 
	String^ key, 
	[OutAttribute] FITAG% tag
)

Parameters

model
Type: FreeImageAPI..::.FREE_IMAGE_MDMODEL
The metadata model to look for.
dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
key
Type: System..::.String
The metadata field name.
tag
Type: FreeImageAPI..::.FITAG %
A FITAG structure returned by the function.

Return Value

Returns true on success, false on failure.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also