Checks if the file is image or some other format.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static bool IsValidImage(
	string filePath
)
Visual Basic
Public Shared Function IsValidImage ( 
	filePath As String
) As Boolean
Visual C++
public:
static bool IsValidImage(
	String^ filePath
)
F#
static member IsValidImage : 
        filePath : string -> bool 

Parameters

filePath
Type: System..::..String
Full file path

Return Value

Type: Boolean
True if the file is image (png, gif, jpg), false otherwise

See Also