_Presentation.SnapToGrid Property

Determines whether to snap shapes to the gridlines in the specified presentation. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property SnapToGrid As MsoTriState
    Get
    Set
'Usage
Dim instance As _Presentation
Dim value As MsoTriState

value = instance.SnapToGrid

instance.SnapToGrid = value
MsoTriState SnapToGrid { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the SnapToGrid property can be one of these MsoTriState constants.

msoFalse

msoTrue

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace