Retrieves the state of a plugin.

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

Syntax

C#
public static int IsPluginEnabled(
	FREE_IMAGE_FORMAT fif
)
Visual Basic (Declaration)
Public Shared Function IsPluginEnabled ( _
	fif As FREE_IMAGE_FORMAT _
) As Integer
Visual C++
public:
static int IsPluginEnabled(
	FREE_IMAGE_FORMAT fif
)

Parameters

fif
Type: FreeImageAPI..::.FREE_IMAGE_FORMAT
The plugin to check.

Return Value

1 - enabled. 0 - disables. -1 plugin does not exist.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also