편집

다음을 통해 공유


Application.PicasToPoints method (Word)

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 an Application 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.

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)

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.