Share via


Global.PicasToPoints Method

Word Developer Reference

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

Syntax

expression.PicasToPoints(Picas)

expression   A variable that represents a Global object. Optional.

Parameters

Name Required/Optional Data Type Description
Picas Required Single The pica value to be converted to points.

Return Value
Single

Example

This example adds line numbers to the active document and sets the distance between the line numbers and the document text to 4 picas.

Visual Basic for Applications
  With ActiveDocument.PageSetup.LineNumbering
    .Active = True
    .DistanceFromText = PicasToPoints(4)
End With

This example sets the first-line indent for the selected paragraphs to 3 picas.

Visual Basic for Applications
  Selection.ParagraphFormat.FirstLineIndent = PicasToPoints(3)

See Also