SetGrid

Set size of the grid cells. All objects are placed in the grid.

Child elements

(none)

Parent elements

Case, ForAll, Include, Layout, Loop, Otherwise, Until, While

Attributes

dx (optional, since version 2.3.11)
Distance between two grid cells (horizontal)
dy (optional, since version 2.3.46)
Distance between two grid cells (horizontal)
height (length, optional)
The height of a grid cell. Use either height or ny, but not both.
nx (number, optional)
Specify the number of grid cells in horizontal direction. Use either nx or width, not both.
ny (number, optional)
Set the number of grid cells in vertical direction. Give ny or height, but not both.
width (length, optional)
The width of a grid cell. Use either width or nx, not both.

Example

<SetGrid width="4mm" height="14pt"/>

See also

The section about page grids.