FreeImage.NET Class Library Reference
FreeImageSetPluginEnabled Method |
Enables or disables a plugin.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static int SetPluginEnabled( FREE_IMAGE_FORMAT fif, bool enable )
Parameters
- fif
- Type: FreeImageAPIFREE_IMAGE_FORMAT
The plugin to enable or disable. - enable
- Type: SystemBoolean
True: enable the plugin. false: disable the plugin.
Return Value
Type: Int32The previous state of the plugin. 1 - enabled. 0 - disables. -1 plugin does not exist.
See Also