Converts a value in the current form units to a value in pixels.
|
Syntax:
|
FormUnitsToPixels (form units, is X value)
|
Parameters:
|
form units – A value in form units (inches, centimeters or dialog units).
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
|
Note:
|
The Form units property value is without the horizontal and vertical factor. Therefore, for example, if you want to convert the value returned by the CX function to pixels, you need to divide it by the horizontal factor.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
PixelsToFormUnits
|