DrawHTMLText

文字, HTML 文字, 頁面版面配置

描述

在頁面上繪製 HTML 與支援的 CSS 子集

支援的標籤、選擇器、屬性、表格與對映影像請見 附錄 A

語法

Delphi

Function TPDFlib.DrawHTMLText(Left, Top, Width: Double; Const HTMLText: WideString): Integer;

ActiveX

Function PDFlib::DrawHTMLText(Left As Double, Top As Double, Width As Double, HTMLText As String) As Long

DLL

int DLDrawHTMLText(int InstanceID, double Left, double Top, double Width, const wchar_t * HTMLText);

參數

Left要繪入文字之區域的左緣
Top要繪入文字之區域的上緣
Width要繪入文字之區域的寬度
HTMLTextThe HTML text to draw