InchesToPoints Method

Applies To

Application object, Global object.

Description

Converts a measurement from inches to points (1 inch = 72 points). Returns the converted measurement as a Single.

Syntax

expression.InchesToPoints(Inches)

expression Optional. An expression that returns an Application object.

Inches Required Single. The inch value to be converted to points.

See Also

CentimetersToPoints method, LinesToPoints method, MillimetersToPoints method, PicasToPoints method.

Example

This example sets the space before for the selected paragraphs to 0.25 inch.

Selection.ParagraphFormat.SpaceBefore = InchesToPoints(0.25)
This example prints each open document after setting the left and right margins to 0.65 inch.

For Each openDoc in Documents
    With openDoc
        .PageSetup.LeftMargin = InchesToPoints(0.65)
        .PageSetup.RightMargin = InchesToPoints(0.65)
        .PrintOut
    End With
Next openDoc