SRGraphComponent::GetYScreenToPrinterRatio

doubleSRGraphComponent::GetYScreenToPrinterRatio(CDC *pPrinterDC)

Returns the ratio of screen pixels to printer pixels in logical units.

Defined in: SRGComp.cpp

Return Value

double. The Y units ratio

Parameters

pPrinterDC

CDC * pPrinterDC points to the DC to test. This may or may not be a printer DC. If it is then the ratio returned will reflect the ratio of screen pixel to printer pixels. If not the ratio returned will be 1.0.