Table of Contents

Method SetMargins

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

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

margins PageMargins

The margins.

Exceptions

ArgumentNullException

margins is null.