RenderPagesToPrintFile

描繪、列印、檔案輸出

描述

把所選頁面寫成完整的驅動程式無關 PostScript、EPS、PCL 或 PWG Raster 檔案

語法

Delphi

Function TPDFlib.RenderPagesToPrintFile(DPI: Double; Const PageRanges: WideString; PrintFormat, Options: Integer; Const FileName: WideString): Integer;

ActiveX

Function PDFlib::RenderPagesToPrintFile(DPI As Double, PageRanges As String, PrintFormat As Long, Options As Long, FileName As String) As Long

DLL

int DLRenderPagesToPrintFile(int InstanceID, double DPI, const wchar_t* PageRanges, int PrintFormat, int Options, const wchar_t* FileName);
int DLRenderPagesToPrintFileA(int InstanceID, double DPI, const char* PageRanges, int PrintFormat, int Options, const char* FileName);

參數

DPI, PageRanges, PrintFormat, and Options follow RenderPagesToPrintStream; FileName is the output path傳回值Returns 1 on success and 0 on failure

備註

呼叫失敗時會移除部分產出的檔案;ANSI DLL 進入點會以 UTF-8 解碼頁面範圍與檔名

備註

失敗的呼叫會刪除其部分輸出檔;ANSI DLL 進入點以 UTF-8 解碼頁面範圍與檔名

另請參閱

RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer