SetHTMLBoldFont

Text, HTML text

Description

Specifies the font to use when a <b> or <strong> tag is encountered when using DrawHTMLText

or DrawHTMLTextBox.

Syntax

Delphi

function TPDFlib.SetHTMLBoldFont(Const FontSet: WideString; FontID: Integer): Integer;

ActiveX

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

DLL

int DLSetHTMLBoldFont(int InstanceID, wchar_t * FontSet, int FontID);

Parameters

FontSetThe name of the font set to use. For this version of the library it should always be "Default".
FontIDThe ID of the font to use

Return values

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