FileDownloader.MegabytesText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Text for the megabytes unit.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("MegabytesText", "MB");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setMegabytesText(value);
value = getFileDownloader("FileDownloaderID").getMegabytesText();

Property Value

A string value that specifies a text for the megabytes unit to be displayed in dialogs.

Default value is "MB".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference