RenderPageLayerToString

描繪、註解、表單欄位、二進位輸出

« 返回說明文件索引 以二進位 PNG 資料傳回單一頁面圖層,存放於

AnsiString

語法

function RenderPageLayerToString(DPI: Double; Page,
  LayerKind: Integer): AnsiString;

參數

Positive output resolution in dots per inch1-based page number
ParameterDescription
DPI正的輸出解析度,單位 DPI
Page1-based 頁碼
LayerKind0 選基礎頁面內容,1 選註解,2 選表單欄位,3 選所有互動物件

傳回值

成功時傳回二進位 PNG 資料;請求無效或描繪失敗時傳回空字串

備註

互動式圖層 PNG 含透明資訊,適合疊加合成;傳回值請當成二進位資料,不要當成編碼文字

另請參閱

RenderPageLayerToStream, RenderPageLayerToFile, RenderPageToString