title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Presentation.GridDistance property (PowerPoint) |
vbapp10.chm583062 |
|
|
5c4accfe-2467-3d0e-f7f8-3e3c16d8d0ce |
06/08/2017 |
medium |
Sets or returns a Single that represents the distance between gridlines. Read/write.
expression. GridDistance
expression A variable that represents a Presentation object.
Single
This example displays the gridlines, and then specifies the distance between gridlines and enables the snap to grid setting.
Sub SetGridLines()
Application.DisplayGridLines = msoTrue
With ActivePresentation
.GridDistance = 18
.SnapToGrid = msoTrue
End With
End Sub
[!includeSupport and feedback]