LinesToPoints Method

Microsoft Word Visual Basic

LinesToPoints Method

       

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

expression.LinesToPoints(Lines)

expression   Optional. An expression that returns an Application object.

Lines   Required Single. The line value to be converted to points.

Example

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

With Selection.ParagraphFormat
    .LineSpacingRule = wdLineSpaceMultiple
    .LineSpacing = LinesToPoints(3)
End With