private static int PointToPixel(float value, double resolution) { return Convert.ToInt32(ConvertUtil.PointToPixel(value, resolution)); } }