pdfSetHTMLBoldItalicFont
Set the font used for combined <b><i> runs in HTML text.
| Category | HTML text engine fonts |
|---|
Purpose — Set the font used for combined <b><i> runs in HTML text.
Declarations
C
int32_t __stdcall pdfSetHTMLBoldItalicFont(PPDF IPDF, const char* Name);
int32_t __stdcall pdfSetHTMLBoldItalicFontA(PPDF IPDF, const char* Name);
int32_t __stdcall pdfSetHTMLBoldItalicFontW(PPDF IPDF, const wchar_t* Name);
Delphi
function pdfSetHTMLBoldItalicFontA(const IPDF: PPDF; Name: PAnsiChar): Integer; stdcall; external 'LumasPdf.dll';
function pdfSetHTMLBoldItalicFontW(const IPDF: PPDF; Name: PWideChar): Integer; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
Name | string | Font name for bold+italic HTML runs. |
Return value — 1 on a valid handle.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfSetHTMLBoldItalicFontW(IntPtr IPDF, IntPtr Name);
public static extern int pdfSetHTMLBoldItalicFont(IntPtr IPDF, IntPtr Name);
public static extern int pdfSetHTMLBoldItalicFontA(IntPtr IPDF, IntPtr Name);
Area
Fonts
Category
Setters
Exported names
pdfSetHTMLBoldItalicFontW
pdfSetHTMLBoldItalicFont
pdfSetHTMLBoldItalicFontA
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.