CODTextComponent::CalcTextMargins

CRectCODTextComponent::CalcTextMargins(CDC*pDC)

Calculate the margins in logical units.

Defined in: OdTextComp.cpp

Return Value

Rectangle that contains the margin on each side of the text.

Parameters

pDC

Device context used to get text metrics.

Comments

This function uses the text metrics of the current font to determine a value for the margins.