Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Applying a Character Format to a Character

$
0
0

I am trying to apply a character format to a single character.

 

I have tried :

 

MyDoc.SetTextVal(myrange,Constants.FO_CharFmt ,"RoundFont")

 

and

 

var charFmtId = MyDoc.GetNamedObject(Constants.FO_CharFmt, "RoundFont");

var myprops = MyDoc.GetProps(charFmtId)

MyDoc.SetTextProps(myrange, myprops); 

 

neither work unfortunately - I have been trying for two weeks!

 

I know the "myrange" is Ok because I can delete characters in the range correctly and add a character instead.


Viewing all articles
Browse latest Browse all 23442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>