JVCL Help:TJvDeviceInfo.MMToXPx

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Converts logical millimeters to pixels.


Pascal

 functionMMToXPx(MM: Single): Integer;


Parameters

Parameters Description
MM: Single The value to convert.


Return Value

The corresponding pixel value.


Description

Call MMToXPx to convert a logical millimeter to a pixel value. The conversion is done using the mapping of the horizontal extent in the current device context as specified by ReferenceHandle.
Calling this function is the same as InchToXPx(MM * 25.4).


See Also

TJvDeviceInfo.MMToYPx, TJvDeviceInfo.XPxToMM


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page