Will return the width of a text string in Pixels for the font given.
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.
Rule | Result | Meaning |
---|---|---|
SppFontWidthInPixels("DriveWorks","font-family: gill sans mt; font-size: 18pt; text-decoration:") | 173 | This is the Width in Pixels of the Text String for the given font. |