22.9.2.14 ST_TwipsMeasure

This simple type specifies that its contents contain wither:

  • A positive whole number, whose contents consist of a measurement in twentieths of a point (equivalent
  • to 1/1440th of an inch), or
  • A positive decimal number immediately following by a unit identifier.

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

[Example: Consider an attribute value of 720 whose type is ST_TwipsMeasure. This attribute value specifies a size of one-half of an inch or 36 points (720 twentieths of a point = 36 points = 0.5 inches). end example]

[Example: Consider an attribute value of 12.7mm whose type is ST_HpsMeasure. This attribute value specifies a size of 0.0127 meter or one-half of an inch or 36 points. end example]

This simple type is a union of the following types:

  • The ST_PositiveUniversalMeasure simple type (22.9.2.12).
  • The ST_UnsignedDecimalNumber simple type (22.9.2.16).

[Note: The W3C XML Schema definition of this simple type’s content model (ST_TwipsMeasure) is located in A.6.9. end note]

Last updated on