 | PdfiumFPDFFont_GetStockFont(IntPtr, String) Method |
Note: This API is now obsolete.
This method is obsolete. Please use FPDF_GetStockFont instead
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax[ObsoleteAttribute("This method is obsolete. Please use FPDF_GetStockFont instead",
true)]
public static IntPtr FPDFFont_GetStockFont(
IntPtr document,
string fontName
)
<ObsoleteAttribute("This method is obsolete. Please use FPDF_GetStockFont instead",
true)>
Public Shared Function FPDFFont_GetStockFont (
document As IntPtr,
fontName As String
) As IntPtr
public:
[ObsoleteAttribute(L"This method is obsolete. Please use FPDF_GetStockFont instead",
true)]
static IntPtr FPDFFont_GetStockFont(
IntPtr document,
String^ fontName
)
[<ObsoleteAttribute("This method is obsolete. Please use FPDF_GetStockFont instead",
true)>]
static member FPDFFont_GetStockFont :
document : IntPtr *
fontName : string -> IntPtr
/** @attribute ObsoleteAttribute("This method is obsolete. Please use FPDF_GetStockFont instead",
true) */
public static IntPtr FPDFFont_GetStockFont(
IntPtr document,
String fontName
)
Patagames.Pdf.Pdfium.FPDFFont_GetStockFont = function(document, fontName);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
- fontName String
- A string that specifies the typeface name of the font.
Return Value
IntPtrHandle to the new font object.
See Also