SetHTMLBoldItalicFont

Text, HTML text

Description

Specifies the font to use when both <b> or <strong> and <em> or <i> tags are encountered when using DrawHTMLText or DrawHTMLTextBox

Syntax

Delphi

Function TPDFlib.SetHTMLBoldItalicFont(Const FontSet: WideString; FontID: Integer): Integer;

ActiveX

Function PDFlib::SetHTMLBoldItalicFont(FontSet As String, FontID As Long) As Long

DLL

int DLSetHTMLBoldItalicFont(int InstanceID, const wchar_t* FontSet, int FontID);
int DLSetHTMLBoldItalicFontA(int InstanceID, const char* FontSet, int FontID);

Parameters

FontSet"Default" (or an empty string) sets the face that HTML text starts with. Any other name registers the font under that font family, which a CSS font-family declaration can then pick; registering a family leaves the default faces untouched
FontIDThe ID of the font to use

Return values

0The specified FontID is not a valid font
1The font was set successfully