SetHTMLItalicFont

Tekst, HTML-tekst

Beschrijving

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

DrawHTMLTextBox.

Syntaxis

Delphi

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

ActiveX

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

DLL

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