Aurigma Image Uploader 5.0 Dual
ImageUploader.MaxImageWidth Property
See Also Supported in: ActiveX Java

Maximum image width allowed for upload.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("MaxImageWidth", "0");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setMaxImageWidth(value);
    value = getImageUploader("ImageUploaderID").getMaxImageWidth();

##### Property Value

A non-negative integer value that specifies a maximum image width (in pixels) allowed for upload. If the value is `0` then there is no limit.

Default value is "0" (no limit).

# See Also

##### Examples

Specifying Restrictions for Image Dimensions

##### Reference

DimensionsAreTooLargeText Property
DimensionsAreTooSmallText Property
MaxImageHeight Property
MessageDimensionsAreTooLargeText Property
MessageDimensionsAreTooSmallText Property
MinImageHeight Property
MinImageWidth Property