IHTMLRuleStyle7::glyphOrientationVertical Property
.png)
[This documentation is preliminary and is subject to change.]
Gets or sets a value that alters the orientation of a sequence of characters relative to an inline-progression-direction of vertical.
Syntax
HRESULT IHTMLRuleStyle7::get_glyphOrientationVertical(VARIANT *p); HRESULT IHTMLRuleStyle7::put_glyphOrientationVertical(VARIANT v);
Parameters
- p
Pointer to a variable of type VARIANT that receives one of the values listed in Possible Values.- v
VARIANT that specifies one of the values listed in Possible Values.
Possible Values
auto Default. Indicates that full-width ideographic and full-width Latin text are set with a glyph-orientation of 0 degrees. Ideographic punctuation and other ideographic characters that have alternate horizontal and vertical forms use the vertical form of the glyph. Text that is not full-width is set with a glyph-orientation of 90 degrees. This reorientation rule applies only to the first-level non-ideographic text. All further embedding of writing-modes or bidi processing based on the first-level rotation. inherit Indicates that the property takes the same computed value as the property for the element's parent. angle Indicates the new orientation of the current text element. Possible values include the following: 0degIndicates that all glyphs are set with the top of the glyphs oriented towards the reference orientation.90degIndicates an orientation of 90 degrees clockwise from the reference orientation.180degIndicates an orientation of 180 degrees clockwise from the reference orientation.270degIndicates an orientation of 270 degrees clockwise from the reference orientation.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property is applied only to text written in a horizontal IHTMLStyle3::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 IHTMLRuleStyle7::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 IHTMLRuleStyle7::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.
See Also