Gets or sets a font format for all ActiveX/Java Uploader buttons and labels, except titles.
public function getPaneFont() { } public function setPaneFont($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.
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.
The following code sets font size at 18px and font style at italic:
$uploader = new Uploader("Uploader1"); //...other params... $uploader->getPaneFont()->setSize(18); $uploader->getPaneFont()->setItalic(TRUE); //...other params... $uploader->render();