Screen PerPixelX and PerPixelY For Metrics other than Twips
This .bas module provides the methods you need (e.g., InchesPerPixelX, InchesPerPixelY, PointsPerPixelX, etc.) to convert heights and widths from a non-twip based scale to pixels. It also includes ControlHeightInPixel and ControlWidthInPixel functions that provide a control's dimensions in pixels regardless of the form's scale mode.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.