PhoneticGuideBaseTextSize Class

Phonetic Guide Base Text Font Size.When the object is serialized out as xml, its qualified name is w:hpsBaseText.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.HpsMeasureType
        DocumentFormat.OpenXml.Wordprocessing.PhoneticGuideBaseTextSize

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

Syntax

声明
Public Class PhoneticGuideBaseTextSize _
    Inherits HpsMeasureType
用法
Dim instance As PhoneticGuideBaseTextSize
public class PhoneticGuideBaseTextSize : HpsMeasureType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

17.3.3.11 hpsBaseText (Phonetic Guide Base Text Font Size)

This element specifies the font size which shall be applied to the base text of this phonetic guide text when displayed. If this element disagrees with the run properties on the phonetic guide base text rubyBase element (§17.3.3.27), then this property shall be ignored and the sz element (§17.3.2.38) in that run shall determine the size of the phonetic guide base text.

[Example: Consider a run of phonetic guide base text which shall have an explicit font size of 30 points. This constraint is specified using the following WordprocessingML:

<w:rubyPr>
…
<w:hpsBaseText w:val="60"/>
  …
</w:rubyPr>

The hpsBaseText property is 60 half-points for the base text in this phonetic guide, so the phonetic guide base text is displayed in 30 point font size. end example]

Parent Elements

rubyPr (§17.3.3.28)

Attributes

Description

val (Half Point Measurement)

Specifies a positive measurement specified in half-points (1/144 of an inch).

The contents of this attribute value are interpreted based on the context of the parent XML element.

[Example: Consider the following WordprocessingML fragment:

<… w:val="30" />

The value in the val attribute is 30, which is equivalent to 15 points (30 half-points).

This value is interpreted in the context of the parent element. end example]

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

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PhoneticGuideBaseTextSize Members

DocumentFormat.OpenXml.Wordprocessing Namespace