XFA Specification
Chapter 23, FormCalc Specification
Miscellaneous Built-in Functions
900
UnitType()
Returns the units of a unitspan.
Syntax
UnitType(s1)
Parameters
s1
is a unitspan string.
Returns
The unitspan's units. Unit names are canonized to one of the following:
"in",
"mm",
"cm",
"pt",
"mp".
Examples
UnitType("36in")
returns "in".
UnitValue("2.54centimeters")
returns "cm".
Home Index Bookmark Pages
Pages: Home Index All Pages