Home Search

DriveWorks Pro 22
SppFontWidthInMillimetres

Send Feedback

SppFontWidthInMillimetres

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

Syntax

SppFontWidthInMillimetres([Text],[Font String])

Where:

Text 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.