Method SetMargins
SetMargins(PageMargins)
Sets the four page margins as Word's Margins gallery does; header and footer distances that are unset become Word's 0.5 in.
public void SetMargins(PageMargins margins)
Parameters
marginsPageMarginsThe margins.
Exceptions
- ArgumentNullException
marginsis null.