DoNotUseMarginsForDrawingGridOrigin Class

Do Not Use Margins for Drawing Grid Origin.When the object is serialized out as xml, its qualified name is w:doNotUseMarginsForDrawingGridOrigin.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Class DoNotUseMarginsForDrawingGridOrigin _
    Inherits OnOffType
Dim instance As DoNotUseMarginsForDrawingGridOrigin
public class DoNotUseMarginsForDrawingGridOrigin : OnOffType


[ISO/IEC 29500-1 1st Edition] doNotUseMarginsForDrawingGridOrigin (Do Not Use Margins for Drawing Grid Origin)

This element specifies that the top-left corner of the page shall not be used as the origin for the drawing grid. The drawing grid is a virtual grid which can be used by applications to specify where drawing objects shall be positioned on a page when inserted (i.e. to ensure objects are aligned, etc.). If this element is present the grid shall start at the top-left edge of the page and not the text extents.

If this element is omitted, then the gridlines shall start at the topmost edge of the text extents.

[Example: Consider a WordprocessingML document whose drawing grid must begin at the top left edge of the page. This requirement would be specified using the following WordprocessingML markup in the document settings:

<w:doNotUseMarginsForDrawingGridOrigin w:val="true" />

The doNotUseMarginsForDrawingGridOrigin element's val attribute is equal to true specifying that the document's drawing grid must begin from the top left corner of the page, rather than the top left corner of the text extents. end example]

Parent Elements

settings (§

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.

See Also


DoNotUseMarginsForDrawingGridOrigin Members

DocumentFormat.OpenXml.Wordprocessing Namespace