PhoneticGuideTextFontSize Class
Phonetic Guide Text Font Size.When the object is serialized out as xml, its qualified name is w:hps.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.HpsMeasureType
DocumentFormat.OpenXml.Wordprocessing.PhoneticGuideTextFontSize
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class PhoneticGuideTextFontSize _
Inherits HpsMeasureType
'Применение
Dim instance As PhoneticGuideTextFontSize
public class PhoneticGuideTextFontSize : HpsMeasureType
Remarks
[ISO/IEC 29500-1 редакция 1]
17.3.3.10 hps (Phonetic Guide Text Font Size)
This element specifies the font size which shall be applied to the phonetic guide text in the contents of this run when displayed.
If this element disagrees with the run properties on the phonetic guide text rt element (§17.3.3.24), then those properties shall be ignored and this element shall determine the size of the phonetic guide text.
[Example: Consider a run of phonetic guide text which must have an explicit font size of 13.5 points. This constraint is specified using the following WordprocessingML:
<w:rubyPr>
…
<w:hps w:val="27"/>
…
</w:rubyPr>
The hps property is 27 half-points for the ruby text in this run, so the phonetic guide text is displayed in 13.5 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:
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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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.