Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

textBaseline property

Gets or sets the current settings for the font baseline alignment.

HTML Canvas 2D Context, Section 11Internet Explorer 9

Syntax

object.put_textBaseline(
            string
           v);object.get_textBaseline(
            string
          * p);

Property values

Type: string

top

The top of the em square.

hanging

The hanging baseline

middle

The middle of the em square.

alphabetic

Default. The alphabetic baseline.

ideographic

The ideographic baseline.

bottom

The bottom of the em square.

Standards information

Remarks

The possible values correspond to alignment points in the font. Any other values are ignored.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.