Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.MessageDimensionsAreTooSmallText Property

Text of the error message which states that the width or height of selected image is too small.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public Property MessageDimensionsAreTooSmallText As String
C#
public string MessageDimensionsAreTooSmallText { get; set; }

Property Value

A string value that specifies a text of the error message which states that the width or height of the selected image is too small (i.e. it is less than MinImageWidth or MinImageHeight property). To disable this message, set it to an empty string.

To be able to display additional information in this error message (like FileName, actual image size, and the limit you specified), special keywords are used:

Placeholder Description
[Name] replaced by the name of the file which cannot be added.
[OriginalImageWidth] replaced by the actual width of the original file (in pixels).
[OriginalImageHeight] replaced by the actual height of the original file (in pixels).
[MinImageWidth] replaced by the minimum allowed width specified with the MaxImageWidth (in pixels).
[MinImageHeight] replaced by the minimum allowed height specified with the MaxImageHeight (in pixels).

Default value is "The image [Name] cannot be selected. This image dimensions ([OriginalImageWidth]x[OriginalImageHeight]) are too small. The image should be larger than [MinImageWidth]x[MinImageHeight].".

Remarks

This property corresponds to MessageDimensionsAreTooSmallText client-side property.

See Also

Reference