adjustobjectspacing
adjustobjectspacing
SPACE
,
DIRECTION

The adjustobjectspacing statement adjusts the spacing of selected objects in a form.

Parameters

This statement has two parameters:

space – amount of space to be placed between each object in the form (in points)

direction – Direction of objects, either Vertical or Horizontal (these may be abbreviated to V or H). If this parameter is omitted, vertical is assumed.

Description

This statement adjusts the spacing of selected objects in a form, placing a fixed amount of space between every object. This example assumes a vertical column of objects is selected, it then spaces them apart by 12 points.

    adjustobjectspacing 12,"Vertical"

This example assumes a horizontal column of objects is selected, it then spaces them apart by 6 points.

    adjustobjectspacing 6,"Horizontal"

This statement can also be used with a grid of objects. As long as the objects in the grid are all aligned exactly on the same grid, it will preserve the grid alignment while changing the spacing.

See Also

- Adjusting Object Spacing -- adjust the spacing between multiple selected objects so that the same amount of space is in between each pair of objects.

History

Version | Status | Notes
10.1.1 | New | New in this version.