Click or drag to resize

PdfiumFPDFFont_GetStringWidth Method

Get a special string width of a font object.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static int FPDFFont_GetStringWidth(
	IntPtr font,
	string text
)

Parameters

font  IntPtr
Handle to the font obtained by {0} Overload or FPDFTextObj_GetFont(IntPtr)
text  String
Text the width of which is should be obtained.

Return Value

Int32
String width of a font object
See Also