Link Search Menu Expand Document

FontGetTextWidth Method

Get the width in pixels of the specified string.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.1.1.556-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


Copyright © 2016 - 2021 ByteScout