Uploader.PaneFont Property ActiveX/Java Uploader PHP

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a font format for all ActiveX/Java Uploader buttons and labels, except titles.

Syntax

PHP
public function getPaneFont() {
}

public function setPaneFont($value) {
}

Property Value

Type: FontFormat

The font format for all ActiveX/Java Uploader buttons and labels. If this property is not specified, a default system font is used.

Remarks

If you need to customize a title font, use the TitleFont.

Be careful when specifying a font if you plan using the uploader in a multilingual environment. If this font does not contain scripts for a specific language, it won't display elements as expected (for example, file names). In this case, it is recommended to use some universal font, for example, Arial Unicode MS.

Example

The following code sets font size at 18px and font style at italic:

PHP
$uploader = new Uploader("Uploader1");
//...other params...				
$uploader->getPaneFont()->setSize(18);
$uploader->getPaneFont()->setItalic(TRUE);
//...other params...				
$uploader->render();

See Also

Reference