Home Search

DriveWorks Pro 22
SppFontWidthInPixels

Send Feedback

SppFontWidthInPixels

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

Syntax

SppFontWidthInPixels([Text],[Font String])

Where:

Text is the Text to evaluated the width in Pixels for.

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

Example

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