CODTextComponent::SizeToText

void CODTextComponent::SizeToText(const OD_CONTROL_POINT ctlPt, CDC* pDC)

Calculate the bounding points so that they match the dimensions of the text.

Defined in: OdTextComp.cpp

Parameters

ctlPt

Control point to act as anchor.

pDC

Device context used to calculate text extent.