PhoneticGuideBaseTextSize Class

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

Inheritance Hierarchy


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


Public Class PhoneticGuideBaseTextSize _
    Inherits HpsMeasureType
Dim instance As PhoneticGuideBaseTextSize
public class PhoneticGuideBaseTextSize : HpsMeasureType


[ISO/IEC 29500-1 1st Edition] 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 (§, then this property shall be ignored and the sz element (§ 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:hpsBaseText w:val="60"/>

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 (§



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.

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


PhoneticGuideBaseTextSize Members

DocumentFormat.OpenXml.Wordprocessing Namespace