Compartir a través de


RubyAlign.Val Property

Phonetic Guide Text Alignment Value.Represents the attribte in schema: w:val

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaración
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of RubyAlignValues)
    Get
    Set
'Uso
Dim instance As RubyAlign
Dim value As EnumValue(Of RubyAlignValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<RubyAlignValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<RubyAlignValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the type of alignment to be applied to the phonetic guide text.

Consider a run of phonetic guide text which shall have the ruby text positioned to the far right of the base text. This constraint is specified using the following WordprocessingML:

<w:rubyPr>
  …
  <w:rubyAlign w:val="left"/>
  …
</w:rubyPr>

The value of the val attribute is right for the phonetic guide, so the ruby text will be displayed on the right side of the base text.

The possible values for this attribute are defined by the ST_RubyAlign simple type.

See Also

Reference

RubyAlign Class

RubyAlign Members

DocumentFormat.OpenXml.Wordprocessing Namespace