SetHTMLBoldItalicFont
Texto, Texto HTML
Descrição
Especifica a fonte a usar quando tags <b> ou <strong> e <em> ou <i> forem encontradas ao usar DrawHTMLText ou DrawHTMLTextBox
Sintaxe
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);
Parâmetros
| FontSet | "Default" (ou uma string vazia) define a face com a qual o texto HTML começa. Qualquer outro nome registra a fonte sob essa família de fontes, que uma declaração CSS font-family pode então selecionar; registrar uma família deixa as faces padrão inalteradas |
|---|---|
| FontID | O ID da fonte a usar |
Valores retornados
| 0 | O FontID informado não corresponde a uma fonte válida |
|---|---|
| 1 | A fonte foi definida com sucesso |