EVO HTML to PDF Converter

PdfFontGetTextWidth Method

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

Namespace:  EvoPdf
Assembly:  evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax

public float GetTextWidth(
	string text
)

Parameters

text
Type: SystemString
The measured string.

Return Value

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

Reference