- Print
- PDF
Line height can be set as either Absolute or Relative. In the Absolute mode, you can define a specific line height in millimeters. In the Relative mode, the line height is automatically defined based on the font type and size you choose.
The absolute empty line height allows you to define a specific line height in millimeters for empty lines. You can set the absolute empty line height to 0 mm to remove any empty lines and make the output compact.
Exercise
Download and import the attached configuration called 08. Rearrange Properties (Line Height) in Lasernet Developer 9. Afterward, go to the Forms section, and then open the Sample form.
Add a new Rearrange similar to the one illustrated in the following image:

Set Size type to Auto Y.
Set the X position to 30 mm, Y to 40 mm, and Width to 80 mm.
For Line height, select the Relative radio button and specify the 100 % value for it. It is a default value.

Create five copies of the Rearrange as it is illustrated in the following image.
For the first copy of the Rearrange, set Font size to 11 pt.
For the second copy of the rearrange, set Line height to Relative and specify 150 % for it.
For the third copy of the rearrange, set Line height to Absolute and specify 3 mm for it.
For the fourth copy of the rearrange, set Line height to Absolute and specify 3 mm for it. Select the Use empty line height check box and specify the 4 mm value.
For the fifth copy of the rearrange, set Line height to Absolute and specify 4 mm for it. Select the Use empty line height check box and specify the 0 mm value.

You now have six Rearranges with the same content. Each text block has a different height because of the various line spacing settings.
You are now proposing to set a 5 mm interval between objects.
Select all the Rearranges. Right-click the selection, and then click Spacing on the context menu.

In the Spacing Options dialog, set Vertical distance to 5 mm and select the Object boxes radio button.

The interval between object boxes is now exactly 5 mm.
