JVCL Help:TJvDeviceInfo.MMToYPx

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

 functionMMToYPx(MM: Single): Integer;


Parameters

Parameters Description
MM: Single The value to convert.


Return Value

The corresponding pixel value.


Description

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


See Also

TJvDeviceInfo.MMToXPx, TJvDeviceInfo.YPxToMM


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