RenderPagesToPrintFile
Rendering, printing, file output
คำอธิบาย
เขียนหน้าที่เลือกอยู่เป็นไฟล์ 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 LongDLL
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
Remarks
การเรียกที่ล้มเหลวจะลบไฟล์เอาต์พุตบางส่วนของตัวเองทิ้ง, จุดเรียก ANSI ของ DLL ถอดรหัสช่วงหน้าและชื่อไฟล์เป็น UTF-8
ดูเพิ่มเติม
RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer