Help Center

AfxPixelsToPointsYsub

Converts pixels to points size (1/72 of an inch) (vertical resolution).

WindowssubAfxWin.incdocumented

Syntax

SUB AfxPixelsToPointsY (BYVAL pix AS LONG) AS LONG

Parameters

NameDescription
pixThe number of pixels.

Return value

The number of points.

Description

Converts pixels to points size (1/72 of an inch). Vertical resolution.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:3035
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures