Share via


Document.GridOriginVertical Property

Gets or sets the point, relative to the top of the page, where you want the invisible grid for drawing, moving, and resizing AutoShapes or East Asian characters to begin in the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property GridOriginVertical As Single
float GridOriginVertical { get; set; }

Property Value

Type: System.Single
The point, relative to the top of the page, where you want the invisible grid for drawing, moving, and resizing AutoShapes or East Asian characters to begin in the document.

Remarks

GridOriginFromMargin must be false for this property to be used.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace