HpsMeasureType.Val Property
Half Point Measurement.Represents the attribte in schema: w:val
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
<SchemaAttrAttribute(, "val")> _
Public Property Val As StringValue
Get
Set
'Uso
Dim instance As HpsMeasureType
Dim value As StringValue
value = instance.Val
instance.Val = value
[SchemaAttrAttribute(, "val")]
public StringValue Val { get; set; }
Property Value
Type: DocumentFormat.OpenXml.StringValue
Returns UInt64Value.
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
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.
Consider the following WordprocessingML fragment:
<w:rPr>
<w:sz w:val="28" />
</w:rPr>
The value of the val attribute is the font size of the run's contents.
However, consider the following fragment:
<w:rPr>
<w:kern w:val="30" />
</w:rPr>
In this case, the value in the val attribute is the minimum size for which font characters shall be automatically kerned.
In each case, the value is interpreted in the context of the parent element.
The possible values for this attribute are defined by the ST_HpsMeasure simple type.