TwipsMeasureType.Val Property
Measurement in Twentieths of a Point.Represents the attribte in schema: w:val
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As StringValue
Get
Set
'Usage
Dim instance As TwipsMeasureType
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 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.