Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] Change Font of a Run

$
0
0

Is there any way to change the font of a run in a TextBlock? The only way I can see is to "Remove()" the Run's text, and "Insert()" it back after setting a new RunProperties (TextBlock::SetRunPropertiesFroAdd() ). I can get a "const" pointer/reference to the current TextBlock's "Run" , so I can't see a way to just assign a new font DgnFont...

I should clarify that I have a "mixed" font TextBlock, and I only want to change certain "Runs" to a different font. I think using ElementPropertiesSetter changes the entire TextBlock, and that is not what I wish to do....

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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