Skip to content

Files

Latest commit

 

History

History
58 lines (32 loc) · 1.01 KB

PowerPoint.Presentation.GridDistance.md

File metadata and controls

58 lines (32 loc) · 1.01 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.GridDistance property (PowerPoint)
vbapp10.chm583062
vbapp10.chm583062
PowerPoint.Presentation.GridDistance
5c4accfe-2467-3d0e-f7f8-3e3c16d8d0ce
06/08/2017
medium

Presentation.GridDistance property (PowerPoint)

Sets or returns a Single that represents the distance between gridlines. Read/write.

Syntax

expression. GridDistance

expression A variable that represents a Presentation object.

Return value

Single

Example

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

See also

Presentation Object

[!includeSupport and feedback]