TwipsMeasureType.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 中的以下信息可能很有用。

指定正度量值,以点的二十分之一指定。 此值基于父 XML 元素的上下文进行解释。

请考虑以下 WordprocessingML 元素,该元素具有一个 val 属性,该属性包含以磅为单位的正度量值:

<w:… w:val="720" />  

属性 val720值为 ,指定此度量值为点的 720 分之二十, (0.5“) 。 此值由父元素根据需要解释。

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

适用于