getTextExtent()
getTextExtent()
Out of context: Reply #3
- Started
- Last post
- 7 Responses
- ********0
Here's the prototype
TextFormat.prototype.getTextExte... = function(str){
var sysOs = System.capabilities.os;
var textExt = this.getTextExtent(str);
if(sysOs.toLowerCase().indexOf... != -1){
textExt.width /= 20;
textExt.height /= 20;
}
return textExt;
}