MirrorMargins class
Mirror Page Margins. When the object is serialized out as xml, its qualified name is w:mirrorMargins.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.MirrorMargins
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
mirrorMargins (Mirror Page Margins)
This element specifies that the left and right margins defined in the section properties shall be swapped on facing pages.
[Guidance: This setting is generally used when printing on both sides of pages and binding them like a book. end guidance]
[Example: Consider a graphical representation (below) of a three page WordprocessingML document with a left margin of 1" and a right margin of 2".
If the mirrorMargins element is present in the document settings with its val attribute equal to true, as follows:
<w:mirrorMargins w:val="true" />
The resulting pages has mirrored margins as follows (un this representation, the gray rectangles representing the text extents on each page):
end example]
Parent Elements |
|---|
settings (§17.15.1.78) |
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.