FontGetTextWidth Method ByteScout PDF SDK
Get the width in pixels of the specified string.

Namespace:  Bytescout.PDF
Assembly:  Bytescout.PDF (in Bytescout.PDF.dll) Version: 1.9.7.331-master
Syntax

public float GetTextWidth(
	string text
)

Parameters

text
Type: SystemString
The measured string.

Return Value

Type: Single
The width of the string in document points (1/72").
See Also

Reference