THotPDF.InterpretContentWithForms Method

THotPDF 的私有輔助方法:解譯內容串流,並在每個 Do 運算子的位置嵌入其所繪製 Form XObject 的字形

宣告

function InterpretContentWithForms(const Bytes: TBytes; const Resolver: IHPDFFontResolver; Resources: THPDFDictionaryObject; const CTM: array of Double; Depth: Integer; Chain: TList; out Glyphs: THPDFGlyphArray): boolean;

單元

HPDFDoc

參數

名稱用途
Bytes已解碼的內容串流
Resolver串流所指字型資源的字型解碼器
Resources列出此串流字型與 XObject 的資源字典
CTM從串流空間到使用者空間的轉換
Depth串流的巢狀深度;超過 12 層的表單不會進入
Chain目前正在連同此串流一起解譯的 Form XObject 串流;已在鏈中的表單會被跳過
Glyphs接收按繪製順序排列的字形

傳回值

串流能夠解譯時為 True

使用說明

相關 API