XFA Specification
Chapter 23, FormCalc Specification
Miscellaneous Built-in Functions
898
Miscellaneous Built-in Functions
Ref()
Returns a reference to an existing object.
Syntax
Ref(v1)
Parameters
v1
is an accessor, reference, method, function or value.
Returns
A reference (or "handle") to an existing object if the given parameter is an accessor referring to an existing
object, or an existing reference, or a method that returns an object, or, a function that evaluates to an
object.
If the given parameter is null, the function returns the null reference. For all other given parameters, the
function returns the value given.
Examples
Ref(Invoice.Border.Edge[4].Color)
might return a handle to a color object.
Ref("hello")
returns "hello".
See Also
Exists()
Home Index Bookmark Pages
Pages: Home Index All Pages