Salesforce

FormUnitsToPixels (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

FormUnitsToPixels (Magic xpa 3.x)

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.

Platform specific:

This function is not supported for mobile devices.

See also:

PixelsToFormUnits

Since version:

3.1

Reference
Attachment 
Attachment