SetHTMLBoldFont

Tekst, HTML-tekst

Beschrijving

Geeft het font op dat wordt gebruikt zodra een <b>- of <strong>-tag voorkomt bij gebruik van DrawHTMLText

of DrawHTMLTextBox.

Syntaxis

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, const wchar_t* FontSet, int FontID);
int DLSetHTMLBoldFontA(int InstanceID, const char* FontSet, int FontID);

Parameters

FontSet"Default" (of een lege string) stelt de face in waarmee HTML-tekst begint. Elke andere naam registreert het font onder die fontfamilie, die een CSS font-family-declaratie daarna kan selecteren; het registreren van een familie laat de standaardfaces ongewijzigd
FontIDDe ID van het te gebruiken font

Retourwaarden

0De opgegeven FontID is geen geldig font
1Het font is ingesteld