CODRulerComponent::OnCleanupDC

voidCODRulerComponent::OnCleanupDC(CDC*pDC)

Cleans up GDI memory and the restores the device context to its original state after drawing the component.

Defined in: OdRulerComp.cpp

Return Value

void

Parameters

pDC

The device context the component is drawn into.

Comments

The ruler component overrides this function so that it can destroy the rotated font when the ruler orientation is vertical.