 | PdfiumFPDFFont_GetStringWidth Method |
Get a special string width of a font object.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDFFont_GetStringWidth(
IntPtr font,
string text
)
Public Shared Function FPDFFont_GetStringWidth (
font As IntPtr,
text As String
) As Integer
public:
static int FPDFFont_GetStringWidth(
IntPtr font,
String^ text
)
static member FPDFFont_GetStringWidth :
font : IntPtr *
text : string -> int
public static int FPDFFont_GetStringWidth(
IntPtr font,
String text
)
Patagames.Pdf.Pdfium.FPDFFont_GetStringWidth = function(font, 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
Int32String width of a font object
See Also