c# - WPF: How to get character coordinates in TextBlock? -


i have textblock customizing in code without xaml. 1 thing need coordinates character contained in textblock (eg. rect character relative textblock top left corner). how can go doing task? guess need implement custom method such

rect textblock.getrectforcharacter(int charindex); 

is there way can accomplish this? note textblock can multi-lined.


Comments

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -