TwipsMeasureType.Val Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Measurement in Twentieths of a Point
Represents the following attribute in the schema: 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
Property Value
Returns UInt64Value.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies a positive measurement value, specified in twentieths of a point. This value is interpreted based on the context of the parent XML element.
Consider the following WordprocessingML element with a val
attribute containing a positive measurement in twentieths of a point:
<w:… w:val="720" />
The val
attribute has a value of 720
, specifying that this measurement value is 720 twentieths of a point (0.5"). This value is interpreted by the parent element as needed.
The possible values for this attribute are defined by the ST_TwipsMeasure
simple type.