_Document.GridDistanceHorizontal Property 

Returns or sets the amount of horizontal 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 microsoft.office.interop.word.dll)

Usage

Dim _Document1 As _Document

Dim returnValue As Single
returnValue = _Document1.GridDistanceHorizontal

Dim sampleValue As Single
_Document1.GridDistanceHorizontal = sampleValue

Syntax

Property GridDistanceHorizontal() As Single
float GridDistanceHorizontal {get; set;}
property Single GridDistanceHorizontal{
    Single get();
    Void set(Single);
}
public float get_GridDistanceHorizontal();
public void set_GridDistanceHorizontal(float);
function get GridDistanceHorizontal() : float;
function set GridDistanceHorizontal(float);

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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

_Document Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Document Members