Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Publisher Newsgroups
Publisher Programming
Extracting font information from a TextRange
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="YourManInJapan, post: 5027518"] Thanks for your repy, Cory. You can interrogate the TextRange.Font object to find the font properties of a TextRange, the problem lies not with accessing the information, but accessing it in a performant fashion. I can check character 1, then 2, 3 and so on, but this extreemly slow. I can also check the entire TextRange or any portion of it, but with little granularity; the TextRange.Font.Italic property will return true, false or mixed, not the start and end positions of the italicised text. In this way it somewhat mirrors the state of the Italic button as suggested in your post. The key objective here is to find the begining and end of runs of consistently formatted text in a perfomant way. [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Publisher Newsgroups
Publisher Programming
Extracting font information from a TextRange
Top