Calling TextAttrs question


i'm trying values of textbox. instance, used dom.getfontmarkup("face") font style. need value text leading. possible?

 

i noticed textattrs has "leading", wasn't sure how used.

 

any appreciated.

you try using :

var text=fw.selection[i].textruns.textruns[j].changedattrs;

var font = text.face;

var size = text.size;

var color = text.fillcolor;

var leadingval=text.leading;

where fw.selection[i] ith selected object. if text object, should return "[object text]".

text can have multiple text runs , j jth text run.



More discussions in Fireworks Exchange extensions


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい