Share via


Global.LinesToPoints Method

Word Developer Reference

Converts a measurement from lines to points (1 line = 12 points). Returns the converted measurement as a Single.

Syntax

expression.LinesToPoints(Lines)

expression   A variable that represents a Global object. Optional.

Parameters

Name Required/Optional Data Type Description
Lines Required Single The line value to be converted to points.

Return Value
Single

Example

This example sets the paragraph line spacing in the selection to three lines.

Visual Basic for Applications
  With Selection.ParagraphFormat
    .LineSpacingRule = wdLineSpaceMultiple
    .LineSpacing = LinesToPoints(3)
End With

See Also