You are here: Section Rules Reference > Section Rules Summary > GroupBegin > Using the Box Function

Using the Box Function

Use this function to expand the first box defined in the group to fit around all sections in the group. The Margin parameter lets you define the extra space to be added between the edge of the section and the box edges. The Margin sub parameters are:

Parameter

Description

Left

Left margin size in FAP units

Bottom

Bottom margin size in FAP units

Here is an example:

GroupBegin Box(Margin(20,20,20,20))

The section would look like this:

Box Function

The section must include a box that will be expanded by the GroupBegin rule’s Box function around the text, as shown below:

Box Function

This example expands the box around a section group and sets the margin to 20 FAP units between the outer edge of the section and the outer edge of the box. There are 2400 FAP units per inch.