FreeImage.NET Class Library Reference
FreeImageSetImageComment Method |
Sets the comment of a JPEG, PNG or GIF image.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool SetImageComment( FIBITMAP dib, string comment )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - comment
- Type: SystemString
New comment of the FreeImage bitmap. Use null to remove the comment.
Return Value
Type: BooleanReturns true on success, false on failure.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
See Also