SetHTMLBoldFont
Texto, Texto HTML
Descrição
Especifica a fonte a usar quando uma tag <b> ou <strong> for encontrada ao usar DrawHTMLText
or DrawHTMLTextBox.
Sintaxe
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);
Parâmetros
| FontSet | O nome do conjunto de fontes a usar. Nesta versão da biblioteca deve ser sempre "Default". |
|---|---|
| FontID | The ID of the font to use |
Valores retornados
| 0 | O FontID informado não corresponde a uma fonte válida |
|---|---|
| 1 | The font was set successfully |