Class PageMargins
A named set of page margins from Word's Margins gallery (Layout > Margins). Apply one with SetMargins(PageMargins).
public sealed class PageMargins
- Inheritance
-
PageMargins
- Inherited Members
Properties
- Bottom
Gets the bottom margin.
- Left
Gets the left margin.
- Moderate
Gets Moderate: 1 in top and bottom, 0.75 in left and right.
- Name
Gets the set's name as Word shows it.
- Narrow
Gets Narrow: 0.5 in on every side.
- Normal
Gets Normal: 1 in on every side.
- Right
Gets the right margin.
- Standard
Gets every named set, in the order Word's Margins gallery lists them.
- Top
Gets the top margin.
- Wide
Gets Wide: 1 in top and bottom, 2 in left and right.
Methods
- Find(string?)
Finds a named set, ignoring case (ordinal).
- Match(SectionFormat)
Finds the named set a section's margins are, if any.