SetHTMLNormalFontA
Text, HTML text
Description
O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de SetHTMLNormalFont e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode
Specifies the default font for text drawn using DrawHTMLText or DrawHTMLTextBox.
Syntax
Delphi
Function DLSetHTMLNormalFontA(InstanceID: Integer; FontSet: PAnsiChar; FontID: Integer): Integer;
DLL
int DLSetHTMLNormalFontA(int InstanceID, const char * FontSet, int FontID);
Parameters
| FontSet | The name of the font set to use. For this version of the library it should always be "Default". |
|---|---|
| FontID | The ID of the font to use |
Return values
| 0 | The specified FontID is not a valid font |
|---|---|
| 1 | The font was set successfully |