CODRulerWrapper_T::CalcMargins
CRectCODRulerWrapper_T::CalcMargins(void)
Calculate the margins based on the ruler width.
Defined in: OdRulerWrapper.h
Return Value
Rectangle containing the margins.
Comments
This function calculates the margins required to accomodate the horizontal and vertical rulers. The ruler width is converted from a measurement into logical units using IODRuler::MeasureToLog. Then, the logical width is converted into device units using LPtoDP. The rectangle returned specifies the margins in device units.See Also