How To Shift All Text Items "Up" One Font Style
Posted: Sat Dec 02, 2006 12:00 am
I've decided to change my app from having two standard fonts to having 3. Now documents that my beta testers have saved using the old approach are "off" by one font style number when they are loaded.
I've worked out a method to automatically convert their files to the new format, but I need to iterate through each text item in the document and change its style from the nth style to the (n+1)th style. What is the proper code to do
Change text style of item(i) from (current style index) to (current style index +1)
Thanks!
I've worked out a method to automatically convert their files to the new format, but I need to iterate through each text item in the document and change its style from the nth style to the (n+1)th style. What is the proper code to do
Change text style of item(i) from (current style index) to (current style index +1)
Thanks!