Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
glyphOrientationHorizontal
top
Collapse the table of content
Expand the table of content

glyphOrientationHorizontal property

Sets or retrieves a value that alters the orientation of a sequence of characters relative to an inline-progression-direction of horizontal.

Scalable Vector Graphics: Text, Section 10.7.2Internet Explorer 9

 

Syntax

HRESULT value = object.put_glyphOrientationHorizontal( v);HRESULT value = object.get_glyphOrientationHorizontal(* p);

Property values

Type: VARIANT

One of the values in the Property Values section.

String format

<angle> | inherit

CSS information

Applies Totext content elements
Mediavisual
Inherited1
Initial Value0deg

Standards information

Remarks

This property is applied only to text written in a horizontal IHTMLCSSStyleDeclaration::writingMode.

The glyph orientation affects the amount that the current text position advances as each glyph is rendered. When the reference orientation direction is horizontal and the IHTMLCSSStyleDeclaration::glyphOrientationHorizontal results in an orientation angle that is a multiple of 180 degrees, the current text position is incremented according to the horizontal metrics of the glyph. Otherwise, if the IHTMLCSSStyleDeclaration::glyphOrientationHorizontal results in an orientation angle that is not a multiple of 180 degrees, the current text position is incremented according to the vertical metrics of the glyph.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLCSSStyleDeclaration::glyphOrientationVertical

 

 

Community Additions

ADD
Show:
© 2015 Microsoft