CODViewport::PointsToInches

float CODViewport::PointsToInches(int nPoints, BOOL bWidth)

Converts pixels to inches.

Defined in: OdViewport.cpp

Return Value

The inch value.

Parameters

nPoints

The point value.

bWidth

TRUE if converting a horizontal value, FALSE if converting a vertical value.

Comments

This function is obsolete and will eventually be removed from the library. The name is misleading, because it refers to device units as points.