SetHTMLBoldFont
文字、HTML 文字
描述
指定使用 DrawHTMLText 遇到 <b> 或 <strong> 標籤時要用的字型
or DrawHTMLTextBox.
語法
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);
參數
| FontSet | 要使用的字型集名稱。本版本的程式庫應一律為 "Default"。 |
|---|---|
| FontID | 要使用的字型 ID |
傳回值
| 0 | 指定的 FontID 不是有效字型 |
|---|---|
| 1 | 字型設定成功 |