Attach a new FreeImage tag to a dib.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool SetMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, string key, FITAG tag ) |
Visual Basic (Declaration) |
---|
Public Shared Function SetMetadata ( _ model As FREE_IMAGE_MDMODEL, _ dib As FIBITMAP, _ key As String, _ tag As FITAG _ ) As Boolean |
Visual C++ |
---|
public: static bool SetMetadata( FREE_IMAGE_MDMODEL model, FIBITMAP dib, String^ key, FITAG tag ) |
Parameters
- model
- Type: FreeImageAPI..::.FREE_IMAGE_MDMODEL
The metadata model used to store the tag.
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- key
- Type: System..::.String
The tag field name.
- tag
- Type: FreeImageAPI..::.FITAG
The FreeImage tag to be attached.