FileDownloader.MegabyteRateText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a text of the megabytes per second unit in the progress dialog.

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("MegabyteRateText", "MB/s");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setMegabyteRateText(value);
value = getFileDownloader("FileDownloaderID").getMegabyteRateText();

Property Value

The text of the megabytes per second unit in the progress dialog.

Default value is "MB/s".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference