CODPageSettings::SetMargins

void CODPageSettings::SetMargins(const CRect& rcMargin)

Sets the margins.

Defined in: OdPageSettings.cpp

Return Value

void

Parameters

rcMargin

Value to set margins to.

Comments

The rectangle passed in specifies the left, top, right, and bottom margins for the page. The value passed in for the margins must be in the correct unit of measure, which is determined by calling GetUnitMeasure. The unit of measure is either PSD_INHUNDREDTHSOFMILLIMETERS or PSD_INTHOUSANDTHSOFINCHES.