Winnovative Excel to PDF Converter

PdfFontGetTextWidth Method

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

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.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