Freigeben über


RubyAlign-Klasse

Phonetic Guide Text Alignment.When the object is serialized out as xml, its qualified name is w:rubyAlign.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.RubyAlign

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

Syntax

'Declaration
Public Class RubyAlign _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As RubyAlign
public class RubyAlign : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.3.3.26 rubyAlign (Phonetic Guide Text Alignment)

This element specifies the alignment setting which shall be used to determine the placement of phonetic guide text with respect to the base text when this phonetic guide is displayed.

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

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

The rubyAlign property is left for the phonetic guide, so the ruby text is displayed on the left side of the base text. end example]

Parent Elements

rubyPr (§17.3.3.28)

Attributes

Description

val (Phonetic Guide Text Alignment Value)

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

[Example: Consider a run of phonetic guide text which must 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 is displayed on the right side of the base text. end example]

The possible values for this attribute are defined by the ST_RubyAlign simple type (§17.18.75).

[Note: The W3C XML Schema definition of this element's content model (CT_RubyAlign) is located in §A.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

RubyAlign-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace