Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Measures the width of the text, considering Word Spacing and
Character Spacing of the String Format
Namespace: Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
Parameters
- text
- Type: SystemString
The string to measure. - font
- Type: Bytescout.PDFFont
Bytescout.PDF.Font that defines the text format of the string. - stringFormat
- Type: Bytescout.PDFStringFormat
The text string format.
Return Value
Type: SingleReturns the width of the string in document points (1/72").
See Also