Winnovative HTML to PDF Converter

PdfFont.GetTextWidth Method

Winnovative HTML to PDF Converter for .NET Documentation
Get the width in points of the specified string when rendered in PDF using this font.

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public float GetTextWidth(
	string text
)

Parameters

text
Type: System.String
The measured string.

Return Value

Type: Single
The width of the string in points.
See Also

Reference