Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • FormCalc User Reference
  • Miscellaneous Functions
  • UnitType
UnitType
Returns the units of a unitspan. A unitspan is a string consisting of a number followed by a unit name.
Syntax
UnitType(s)
Parameters
 
Parameter
Description
s
A valid string containing a numeric value and a valid unit of measurement (unitspan). Recognized units of measurement are:
•
in, inches
•
mm, millimeters
•
cm, centimeters
•
pt, picas, points
•
mp, millipoints
If s is invalid, the function returns in.
Examples
The following expressions are examples of using the UnitType function:
 
Expression
Results
UnitType(“36 in”)
in
UnitType(“2.54centimeters”)
cm
UnitType(“picas”)
pt
UnitType(“2.cm”)
cm
UnitType(“2.zero cm”)
in
UnitType(“kilometers”)
in
UnitType(Size[0])
Returns the measurement value of the first occurrence of Size.

UnitType

Livecycle > UnitType

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • FormCalc User Reference
                    • Introducing FormCalc
                      • Language Reference
                        • Arithmetic Functions
                          • Date and Time Functions
                            • Financial Functions
                              • Logical Functions
                                • Miscellaneous Functions
                                  • About miscellaneous functions
                                  • Eval
                                  • Null
                                  • Ref
                                  • UnitType
                                  • UnitValue
                                • String Functions
                                  • URL Functions
                                • Menu, Command, Toolbar, and Dialog Box Reference
                                  • Sample Form Snippets and Forms
                                    • Glossary
                                    • Copyright and trademark notices

                                    Livecycle

                                    • de
                                    • en
                                    • fr
                                    Powered by Helpmax Guide Source