SetHTMLBoldItalicFont
Tekst, HTML-tekst
Beschrijving
Geeft het font op dat wordt gebruikt wanneer zowel <b> of <strong> als <em> of <i> voorkomt bij gebruik van DrawHTMLText of DrawHTMLTextBox
Syntaxis
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" (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 |
|---|---|
| FontID | De ID van het te gebruiken font |
Retourwaarden
| 0 | De opgegeven FontID is geen geldig font |
|---|---|
| 1 | Het font is ingesteld |