EDIT: Solved, I found MeasureOverhang on TextBlock and it look like what I needed.
Is there a way to compute the border around the measured width/height of a document (with multiple styles)?
I don't know if it is already computed somewhere in the code and if that could be read easily?
That could be useful to adjust the clipping rectangle of my text element.
EDIT: Solved, I found MeasureOverhang on TextBlock and it look like what I needed.
Is there a way to compute the border around the measured width/height of a document (with multiple styles)?
I don't know if it is already computed somewhere in the code and if that could be read easily? That could be useful to adjust the clipping rectangle of my text element.
Thank you for any help!