 | PdfiumFPDF_AddWindowsFont Method |
Creates a font that has the specified characteristics.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDF_AddWindowsFont(
IntPtr document,
LOGFONT logfont,
bool bVert,
bool bTranslateName
)
Public Shared Function FPDF_AddWindowsFont (
document As IntPtr,
logfont As LOGFONT,
bVert As Boolean,
bTranslateName As Boolean
) As IntPtr
public:
static IntPtr FPDF_AddWindowsFont(
IntPtr document,
LOGFONT^ logfont,
bool bVert,
bool bTranslateName
)
static member FPDF_AddWindowsFont :
document : IntPtr *
logfont : LOGFONT *
bVert : bool *
bTranslateName : bool -> IntPtr
public static IntPtr FPDF_AddWindowsFont(
IntPtr document,
LOGFONT logfont,
boolean bVert,
boolean bTranslateName
)
Patagames.Pdf.Pdfium.FPDF_AddWindowsFont = function(document, logfont, bVert, bTranslateName);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
- logfont LOGFONT
- The LOGFONT structure that defines the characteristics of the font.
- bVert Boolean
- The font is vertical
- bTranslateName Boolean
- Translate names for CJK fonts
Return Value
IntPtrHandle to newly created font or IntPtr.Zero if any error occurs.
See Also