Measurements

This becomes important because a lot of the positioning properties are measured in points.
There are 72 points to one Inch.
There are 28.35 points to one centimeter.


Inches and Points

Excel
There is an InchesToPoints method.

Dim sngPoints As Single 
sngPoints = Application.InchesToPoints(10)

There is NO PointsToInches method.


Word
There is an InchesToPoints method.

Dim sngPoints As Single 
sngPoints = Application.InchesToPoints(10)

There is a PointsToInches method.

Dim sngInches As Single 
sngInches = Application.PointsToInches(10)


PowerPoint
There are no Methods.


Centimeters and Points

Excel
There is a CentimetersToPoints method

Dim sngPoints As Single 
sngPoints = Application.CentimetersToPoints(10)

There is NO PointsToCentimeters method


Word
There is a CentimetersToPoints method

Dim sngPoints As Single 
sngPoints = Application.CentimetersToPoints(10)

There is a PointsToCentimeters method

Dim sngCentimeters As Single 
sngCentimeters = Application.PointsToCentimeters(10)


PowerPoint
There are no Methods.


Millimeters and Points

Excel
There are no Methods.


Word
There is a MillimetersToPoints method

Dim sngPoints As Single 
sngPoints = Application.MillimetersToPoints(10)

There is a PointsToMillimeters method

Dim sngMillimeters As Single 
sngMillimeters = Application.PointsToMillimeters(10)


PowerPoint
There are no Methods.


Points and Lines

Excel
There are no Methods.


Word
There is a PointsToLines method

Dim sngLines As Single 
sngLines = Application.PointsToLines(10)

There is a LinesToPoints method

Dim sngPoint As Single 
sngPoint = Application.LinesToPoints(10)


PowerPoint
There are no Methods.


Points and Picas

Excel
There are no Methods.


Word
There is a PointsToPicas method

Dim sngPicas As Single 
sngPicas = Application.PointsToPicas(10)

There is a PicasToPoints method

Dim sngPoints As Single 
sngPoints = Application.PicasToPoints(10)


PowerPoint
There are no Methods.



© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

Top

Prev