Aracılığıyla paylaş


FontSize Constructor

Definition

Initializes a new instance of the FontSize class.

public FontSize ();
Public Sub New ()

Remarks

sz (Font Size)

This element specifies the font size which shall be applied to all non-complex script characters in the contents of this run when displayed.

If this element is not present, the default value is to leave the value applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then any appropriate font size may be used for non-complex script characters.

Consider a run of text which shall have an explicit font size of 13.5 points for the non-complex script contents of the run. This constraint is specified using the following WordprocessingML:

<w:rPr>  
  <w:sz w:val="27"/>  
</w:rPr>  

This run explicitly declares that the sz property is 27 half-point for the non-complex script contents of this run, so the text will be displayed in 13.5 point font size.

Parent Elements
rPr

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_HpsMeasure">  
   <attribute name="val" type="ST_HpsMeasure" use="required"/>  
</complexType>  

Applies to