CODRulerComponent::OnPrepareDC

voidCODRulerComponent::OnPrepareDC(CDC*pDC)

Performs initial setup of the points and the device context before the component is drawn.

Defined in: OdRulerComp.cpp

Return Value

void

Parameters

pDC

The device context the component is being drawn in.

Comments

The ruler component overrides this function so that it can rotate the font when the ruler has vertical orientation.