Share via


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

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.DoNotUseMarginsForDrawingGridOrigin

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

Syntax

'宣言
Public Class DoNotUseMarginsForDrawingGridOrigin _
    Inherits OnOffType
'使用
Dim instance As DoNotUseMarginsForDrawingGridOrigin
public class DoNotUseMarginsForDrawingGridOrigin : OnOffType

Remarks

[ISO/IEC 29500-1 初版]

17.15.1.42 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 (§17.15.1.78)

This element's content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

DoNotUseMarginsForDrawingGridOrigin Members

DocumentFormat.OpenXml.Wordprocessing Namespace