CODTextComponent::CalcTextBorder

CSize CODTextComponent::CalcTextBorder(CDC* pDC)

Calculate the size of the text border in logical units.

Defined in: OdTextComp.cpp

Return Value

Size of border in logical units.

Parameters

pDC

Device context used to calculate text metrics.

Comments

The text border consists of the line width. The width and height returned only represent one side of the text box. The size returned must be multiplied by 2 to account for both sides of the bounding box. pDC*/)