Share via


_Document.GridOriginFromMargin Property

Determines if Microsoft Word starts the character grid from the upper-left corner of the page.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property GridOriginFromMargin As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.GridOriginFromMargin

instance.GridOriginFromMargin = value
bool GridOriginFromMargin { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if Microsoft Word starts the character grid from the upper-left corner of the page, and False if not. Set the property value to True or False to enable or disable the functionality.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace