Global.MillimetersToPoints method (Word)
Converts a measurement from millimeters to points (1 mm = 2.85 points). Returns the converted measurement as a Single.
Syntax
expression. MillimetersToPoints
( _Millimeters_
)
expression A variable that represents a 'Global' object. Optional.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Millimeters | Required | Single | The millimeter value to be converted to points. |
Return value
Single
Example
This example sets the hyphenation zone in the active document to 8.8 millimeters.
ActiveDocument.HyphenationZone = MillimetersToPoints(8.8)
This example expands the spacing of the selected characters to 2.8 points.
Selection.Font.Spacing = MillimetersToPoints(1)
See also
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.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro