Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.Hm2PixelsY Function

Converts a HiMetric Y Value to Pixels (Very useful for Picture size check)

Syntax
Public Function Hm2PixelsY (ByVal hm As Long) As Long
Parameters
Parameter Description
ByVal hm As Long HiMetric Y value (ex. Picture1.Picture.Height)
Remarks
Useful if you cannot use the VB6 Scale function (lImageHeight = scaleY(oImagePaint.Height, vbHimetric, vbPixels))