GridDistanceVertical Property
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_Document.GridDistanceVertical Property 

Returns or sets the amount of vertical space between the invisible gridlines that Microsoft Word uses when you draw, move, and resize AutoShapes or East Asian characters in the specified document.

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

Dim _Document1 As _Document

Dim returnValue As Single
returnValue = _Document1.GridDistanceVertical

Dim sampleValue As Single
_Document1.GridDistanceVertical = sampleValue

float GridDistanceVertical {get; set;}
public float get_GridDistanceVertical();
public void set_GridDistanceVertical(float);
function get GridDistanceVertical() : float;
function set GridDistanceVertical(float);

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2016 Microsoft