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

ImageUploader.PaneFont Property

Supported in: ActiveX , Java

Font format for all Image Uploader panes and labels.

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("PaneFont", "");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setPaneFont(value);
value = getImageUploader("ImageUploaderID").getPaneFont();

Property Value

A string value that specifies font parameters for all Image Uploader panes and label. See Remarks section for more details about syntax of this string. If an empty string is specified, default system font is used.

Default value is "".

Remarks

This property allows you to customize Image Uploader font, except error messages. The string which specifies font format has the following syntax:

variable1=value1;variable2=value2;...

Here is a list of supported variables:

VariableDescription
Name

Font name. This font should be installed on the client machine, so it is recommended to use only standard font names. When this parameter is not specified, the system default font is used.

Size

Font size (in pixels). If this parameter is not specified, the system default font size is used.

Style

Font style. The following styles are supported:

  • Bold
  • Italic

You can specify several styles separated with a comma. Example:

Style=Bold,Italic

If this parameter is not specified, regular font is used.

Note

The format string is case insensitive.

See Also

Reference