ODF .NET Class Library
Show/Hide TOC

# RubyAlignment Enumeration

Represents the horizontal alignment of the ruby text in relationship to the ruby base.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public enum RubyAlignment

VB

    Public Enumeration RubyAlignment

## Members

Left | 0 | Ruby text to the left of ruby base text.
Center | 1 | Ruby text centered on ruby base text.
Right | 2 | Ruby text to the right of ruby base text.
DistributeLetter | 3 | If the width of the ruby text is smaller than that of the ruby base text, then the ruby text contents are evenly distributed across the width of the ruby base text, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the ruby base text, then the letters of the ruby base text are evenly distributed across the width of the ruby text.
DistributeSpace | 4 | If the width of the ruby text is smaller than that of the ruby base text, then the ruby text contents are evenly distributed across the width of the ruby base text, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text. If the width of the ruby text is at least the width of the ruby base text, then the same type of space distribution applies to the ruby base text. In other words, if the base is shorter than the ruby text, the base is distribute-space aligned.
None | 5 | None.

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace