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
Post a Comment