textBaseline property
Gets or sets the current settings for the font baseline alignment.
![]() ![]() |
Syntax
HRESULT value = object.put_textBaseline( v);HRESULT value = object.get_textBaseline(* p);
Property values
Type: BSTR
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
- HTML Canvas 2D Context, Section 11
Remarks
The possible values correspond to alignment points in the font. Any other values are ignored.
Build date: 11/12/2012

