I have text block with text "km2":
<TextBlock >Area(km2)</TextBlock>
How can I make "2" small and heigher such exponent I need view such on picture:
You can create Inlines
, and set Typography.Variants
appropriately.
<TextBlock><Run>Area(km</Run><Run Typography.Variants="Superscript">2</Run><Run>)</Run></TextBlock>
<TextBlock Text="Area(km²)"/>
Seems to work:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With