PicasToPoints Method

Microsoft Word Visual Basic

PicasToPoints Method

       

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

expression.PicasToPoints(Picas)

expression   Optional. An expression that returns an Application object.

Picas   Required Single. The pica value to be converted to points.

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.

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.

Selection.ParagraphFormat.FirstLineIndent = PicasToPoints(3)