Table of contents
TOC
Collapse the table of content
Expand the table of content

Label.LineSpacing Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

You can use the LineSpacing property to specify or determine the location of information displayed within a label or text box control. Read/write Integer.

Syntax

expression. LineSpacing

expression A variable that represents a Label object.

Remarks

A control's displayed information location is the distance measured between each line of the displayed information. To use a unit of measurement different from the setting in the Regional Options dialog box in Windows Control Panel, specify the unit, such as cm or in (for example, 3 cm or 2 in).

In Visual Basic, use a numeric expression to set the value of this property. Values are expressed in twips.

Example

The following example sets the line spacing to 0.25 inches for the text box "PurchaseOrderInformation" on the "Purchase Order Form"

' 0.25 inches = 360/1440 twips. 
 Forms("Purchase Orders").Controls("PurchaseOrderDescription").LineSpacing = 360

See also

Concepts

Label Object

© 2018 Microsoft