0

Anybody know how to have a power factor in text..

100 m2 etc..

is it a unicode character?

thanks

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by walid86
1

In text the power sign is normally given by the ^ character (above your 6 on the keyboard. E.g. 10^2 = 100.
Using a word processor the 2 would generally be turned into superscript which places it above the other characters and smaller.
In HTML you can use the <sup></sup> tag or use a CSS class.

Is that what you are after?

0
this.richTextBox11.SelectionCharOffset = 7;

will grab the selected text, and place it 7 (pixels? i think) above the original text...

this value is from -2000, to 2000.. positive meaning super, negative being sub.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.