CODTextCommand::SetCoordinateMapping

voidCODTextCommand::SetCoordinateMapping(CDC*pDC)

Set mapping mode and extents used to calculate text boxes.

Defined in: OdTextCmd.cpp

Return Value

void

Parameters

pDC

Pointer to device context.

Comments

This function retrieves the mapping mode, window extents, and viewport extents from the given DC and saves them. This is necessary so that  CODTextComponent::GrowToText can be called with a DC that reflects the correct coordinate mapping.