Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Mirror Page Margins.When the object is serialized out as xml, its qualified name is w:mirrorMargins.
Inheritance Hierarchy
System.Object
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)
Syntax
'Declaration
Public Class MirrorMargins _
Inherits OnOffType
'Usage
Dim instance As MirrorMargins
public class MirrorMargins : OnOffType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.15.1.57 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.