TimedTextRubyAlign Enum

Definition

Specifies the position of ruby text within the inline area generated by the ruby text container annotation.

public enum class TimedTextRubyAlign
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
enum class TimedTextRubyAlign
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
public enum TimedTextRubyAlign
var value = Windows.Media.Core.TimedTextRubyAlign.center
Public Enum TimedTextRubyAlign
Inheritance
TimedTextRubyAlign
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Fields

Center 0

The ruby content is centered within its box

End 2

The ruby content is aligned with the start edge of its box.

SpaceAround 3

The ruby content expands as defined for normal text justification (as defined by text-justify). There exists extra justification opportunities whose space is distributed half before and half after the ruby content.

SpaceBetween 4

The ruby content expands as defined for normal text justification (as defined by text-justify), except that if there are no justification opportunities the content is centered.

Start 1

The ruby content is aligned with the start edge of its box.

WithBase 5

The ruby content is aligned with its associated ruby base.

Remarks

Use a value from this enumeration when setting the TimedTextRuby.Align property.

Applies to