Validates image to ensure that it is the minimum required size.

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

Syntax

C#
protected virtual bool IsValidImage(
	HttpPostedFile postedImage
)
Visual Basic
Protected Overridable Function IsValidImage ( 
	postedImage As HttpPostedFile
) As Boolean
Visual C++
protected:
virtual bool IsValidImage(
	HttpPostedFile^ postedImage
)
F#
abstract IsValidImage : 
        postedImage : HttpPostedFile -> bool 
override IsValidImage : 
        postedImage : HttpPostedFile -> bool 

Parameters

postedImage
Type: System.Web..::..HttpPostedFile
Image to validate.

Return Value

Type: Boolean
true if image is larger than the Avatar size, otherwise false.

See Also