SignedTwipsMeasureType.Val Property

Positive or Negative Value 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 SignedTwipsMeasureType
Dim value As StringValue

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public StringValue Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a value whose contents shall contain a positive or negative whole number that consists of a positive or negative measurement in twentieths of a point (equivalent to 1/1440 inches).

The contents of this measurement shall be interpreted based on the context of the parent XML element.

Consider an attribute value of −720 whose type is ST_SignedTwipsMeasure. This attribute value specifies a value of −½ inch or −36 points (−720 twentieths of a point = −36 points = −0.5 inches).

The possible values for this attribute are defined by the ST_SignedTwipsMeasure simple type.

See Also

Reference

SignedTwipsMeasureType Class

SignedTwipsMeasureType Members

DocumentFormat.OpenXml.Wordprocessing Namespace