共用方式為


Document.GridDistanceHorizontal Property

Gets or sets the amount of horizontal space between the invisible gridlines that Microsoft Office Word uses when you draw, move, and resize AutoShapes or East Asian characters 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 GridDistanceHorizontal As Single
float GridDistanceHorizontal { get; set; }

Property Value

Type: System.Single
The amount of horizontal space between the invisible gridlines that Microsoft Office Word uses when you draw, move, and resize AutoShapes or East Asian characters in the document.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace