glyphOrientationVertical property

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

 

Syntax

HRESULT value = object.put_glyphOrientationVertical( v);HRESULT value = object.get_glyphOrientationVertical(* p);

Property values

Type: VARIANT

One of the values in the Property Values section.

String format

auto | <angle> | inherit

CSS information

Applies To text content elements
Media visual
Inherited 1
Initial Value auto

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 inline-progression-direction is vertical and the IHTMLCSSStyleDeclaration::glyphOrientationVertical property results in an orientation angle that is a multiple of 180 degrees, the current text position is incremented according to the vertical metrics of the glyph. Otherwise, if the IHTMLCSSStyleDeclaration::glyphOrientationVertical property results in an orientation angle that is not a multiple of 180 degrees, the current text position is incremented according to the horizontal metrics of the glyph.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLCSSStyleDeclaration::glyphOrientationHorizontal