Checks if the file is image or some other format.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: 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
|
Return Value
Type:
BooleanTrue if the file is image (png, gif, jpg), false otherwise
See Also