Converts a value in pixels to be based on the form’s units (inches, centimeters or dialog units).
|
Syntax:
|
PixelsToFormUnits (pixels, is X value)
|
Parameters:
|
pixels – The value in pixels that you want to convert.
is X value – Set this parameter to True if the value you are sending represents a horizontal value. This is important when converting from/to dialog units because the X and Y factors are different.
|
Returns:
|
Numeric (with a floating point)
|
Note:
|
For dialog units, the value will be based on the form’s font.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
FormUnitsToPixels
|