SignedTwipsMeasureType.Val Property

Definition

Positive or Negative Value 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 Int32Value.

Attributes

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.

Applies to