CODGlobal::LogicalToPoints

intCODGlobal::LogicalToPoints(const intnLog, CDC*pDC= NULL, BOOLbVertical= TRUE)

Converts a logical size into a point size based on a device context. If the device context is not defined, the screen device context is used.

Defined in: OdGlobal.cpp

Return Value

The equivalent point size of the logical size.

Parameters

nLog

The logical unit to convert.

Comments

A point is a real world measurement. One point is 1/72 of an inch.

pDC

The device context to use for the calculation.

bVertical

TRUE to convert using the Y axis, FALSE to use the X axis.