Hi Andy
There is a helper method to perform these kinds of conversions:
http://www.imageen.com/help/IEConvertToUnits.html
e.g.
// Convert 4 inches to pixels at the current DPI of the image
in := IEConvertToUnits( 4, ieuInches, ieuPixels, ImageEnView1.IO.Params.DPI );
Nigel
Xequte Software
www.imageen.com