This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.MaxImageHeight Property

Supported in: ActiveX , Java

Maximum image height allowed for upload.

Syntax

Initialize

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMaxImageHeight(value);
value = getImageUploader("ImageUploaderID").getMaxImageHeight();

Property Value

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

Default value is "0" (no limit).

See Also

Manual

Reference