SetHTMLBoldFontA
Text, HTML text
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetHTMLBoldFont and string arguments are interpreted using the current SetAnsiMode code page
Specifies the font to use when a <b> or <strong> tag is encountered when using DrawHTMLText
or DrawHTMLTextBox
Syntax
Delphi
Function DLSetHTMLBoldFontA(InstanceID: Integer; FontSet: PAnsiChar; FontID: Integer): Integer;
DLL
int DLSetHTMLBoldFontA(int InstanceID, const char * FontSet, int FontID);
Parameters
| FontSet | The name of the font set to use. For this version of the library it should always be "Default". |
|---|---|
| FontID | The ID of the font to use |
Return values
| 0 | The specified FontID is not a valid font |
|---|---|
| 1 | The font was set successfully |