Special footer characters such as superscript and subscript in Silverlight

Source: Internet
Author: User
Tags silverlight

Applying the badge in Silverlight is not as simple as HTML.

Silverlight mainly uses escape characters.

1.
String water = "H" + "/x2082" + "O ";

String ammonia = "NH/x2083 ";

String energy = "E = MC/x00b2 ";

String pythagoreantheorem = "A/x00b2 + B/x00b2 = C/x00b2 ";


2. Add a footer


0: U + 2070

1: U + 00b9

2: U + 00b2

3: U + 00b3

4-9: U + 2074-2079

+: U + 207a

-: U + 207b

=: U + 207c

(: U + 207d

): U + 207e

N: U + 207f


Bottom footer mark


0-9: U + 2080-2089

+: U + 208a

-: U + 208b

=: U + 208c

(: U + 208d

): U + 208e


OK, and the badge is marked on the webpage.

You can refer to the following webpage:

Http://www.go4answers.com/Example/subscript-superscript-textblock-149303.aspx

Http://www.tizag.com/htmlT/htmlsubscript.php

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.