Compartir a través de


MirrorMargins Class

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

'Declaración
Public Class MirrorMargins _
    Inherits OnOffType
'Uso
Dim instance As MirrorMargins
public class MirrorMargins : OnOffType

Remarks

[ISO/IEC 29500-1 1ª edición]

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):

DocumentFormat.OpenXml.Wordprocessing.MirrorMargin

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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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.

See Also

Reference

MirrorMargins Members

DocumentFormat.OpenXml.Wordprocessing Namespace