Salesforce

PixelsToFormUnits (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

PixelsToFormUnits (Magic xpa 3.x)

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.

Platform specific:

This function is not supported for mobile devices.

See also:

FormUnitsToPixels

Since version:

3.1

Reference
Attachment 
Attachment