CentimetersToPoints Method

Applies To

Application object.

Description

Converts a measurement from centimeters to points (one point equals 0.035 centimeters).

Syntax

expression.CentimetersToPoints(Centimeters)

expression Required. An expression that returns an Application object.

Centimeters Required Double. Specifies the centimeter value to be converted to points.

See Also

InchesToPoints method.

Example

This example sets the left margin of Sheet1 to 5 centimeters.

Worksheets("Sheet1").PageSetup.LeftMargin = _
        Application.CentimetersToPoints(5)