HpsMeasureType.Val 属性

定义

半点测量

表示架构中的以下属性:w:val

[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue Val { get; set; }
public DocumentFormat.OpenXml.StringValue Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
public DocumentFormat.OpenXml.StringValue? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.StringValue with get, set
Public Property Val As StringValue

属性值

返回 UInt64Value

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定以半磅 (1/144 英寸) 指定的正度量值。

此属性值的内容基于父 XML 元素的上下文进行解释。

请考虑以下 WordprocessingML 片段:

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

属性的值 val 是运行内容的字号。

但是,请考虑以下片段:

<w:rPr>  
  <w:kern w:val="30" />  
</w:rPr>  

在这种情况下,属性中的 val 值是字体字符应自动缩小的最小大小。

在每种情况下,都会在父元素的上下文中解释值。

此属性的可能值由 ST_HpsMeasure 简单类型定义。

适用于