In my WPF application, C# based, I need to have some labels with superscript and subscript, as usually in various maths operations. For example:
Es/Em
or
4x
I need to understand how to create labels int this way both in XAML and via code. Anyone can help me? I only found something about Windows Forms, but nothing about WPF. Thanks for your help
EDIT: The other post describes only XAML solution, that does not work for me. Do I need to change size of characters to have subscript / superscript??Plus, I need to have a solution to create label with superscript / subscript via code and not only via XAML.