API Reference > imodeljs-common > Views > ViewDetails > gridSpacing gridSpacing Accessor The grid spacing for the view. gridSpacing: Readonly<WritableXAndY> Returns - Readonly<WritableXAndY> Setter The grid spacing for the view. gridSpacing(spacing: Readonly<WritableXAndY>): void Parameter Type Description spacing Readonly<WritableXAndY> Returns - void Defined in core/common/src/ViewDetails.ts Line 121 Last Updated: 11 June, 2024