 | PdfiumFPDF_GetStockFont(IntPtr, FontStockNames) Method |
Creates a standard type font with the specified typeface name and the predefined WinAnsiEncoding encoding.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDF_GetStockFont(
IntPtr document,
FontStockNames fontName
)
Public Shared Function FPDF_GetStockFont (
document As IntPtr,
fontName As FontStockNames
) As IntPtr
public:
static IntPtr FPDF_GetStockFont(
IntPtr document,
FontStockNames fontName
)
static member FPDF_GetStockFont :
document : IntPtr *
fontName : FontStockNames -> IntPtr
public static IntPtr FPDF_GetStockFont(
IntPtr document,
FontStockNames fontName
)
Patagames.Pdf.Pdfium.FPDF_GetStockFont = function(document, fontName);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
- fontName FontStockNames
- A value that specifies the typeface name of the font.
Return Value
IntPtrHandle to newly created font or IntPtr.Zero if any error occurs.
Remarks
See Also