strText | String | Yes | Text to measure. |
nWrap | Number | No | Optional parameter which specifies the width of the bounding rectangle. For non-wrapping text supply 0. |
strFontFace | String | No | Optional parameter which specifies the font face. |
nFontSize | Number | No | Optional parameter which specifies the font size. |
bFontBold | State (Enumeration) | No | Optional parameter which enables or disables the bold font style. |
bFontItalic | State (Enumeration) | No | Optional parameter which enables or disables the italic font style. |
bFontUnderline | State (Enumeration) | No | Optional parameter which enables or disables the underline font style. |
bFontStrikeout | State (Enumeration) | No | Optional parameter which enables or disables the strikeout font style. |
bFontAntiAliasing | State (Enumeration) | No | Optional parameter which enables or disables the font anti-aliasing. |