ViewProperties.GridSpacing Property
Gets or sets the spacing of the alignment grid used in the presentation layout.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
| Type | Description |
|---|---|
| Single | The grid spacing, in points. |
Remarks
The following code sample sets the GridSpacing property value to 500:

using (Presentation presentation = new Presentation("document.pptx")) {
presentation.ViewProperties.GridSpacing = 500;
}
The following code sample sets the GridSpacing property value to 50:

using (Presentation presentation = new Presentation("document.pptx")) {
presentation.ViewProperties.GridSpacing = 500;
}
See Also