Control Reference > VSPrinter Control > VSPrinter Properties > LineSpacing Property (VSPrinter) |
Returns or sets the line spacing, as a percentage (for example, 100 is single spacing, 200 is double spacing).
[form!]VSPrinter.LineSpacing[ = value As Variant ]
If no units are supplied, this value is interpreted as a percentage of the single line spacing for the current font (font height plus external leading.) In this case, the spacing changes automatically when you change the font size.
The following table shows some common settings for the LineSpacing property:
Setting |
Effect |
100 |
Single-line spacing (default value). |
150 |
1.5 line spacing. |
200 |
Double line spacing. |
50 |
Half line spacing |
You may also specify the line spacing as an absolute value (for example, "12pt"). In this case, the line spacing becomes independent of the font size.
For details on using unit-aware measurements, see the Using Unit-Aware Properties topic.
Variant
100