DriveWorks Pro 16: SppFontWidthInMillimetres [send feedback...]

SppFontWidthInMillimetres

Will return the width of a text string in Millimeters for the font given.

Syntax

SppFontWidthInMillimetres([Text In],[Font String])

Where:

Text In is the Text to evaluated the width in millimeters for.

Font String is the Font of the Text that is being evaluated.

Example

RuleResultMeaning
SppFontWidthInMillimetres("DriveWorks","font-family: gill sans mt; font-size: 18pt; text-decoration:")45.7729166632968This is the Width in Millimeters of the Text String for the given font.

Table of Contents