RenderPagesToPrintFile

Rendering, printing, file output

Περιγραφή

Γράφει επιλεγμένες σελίδες ως πλήρες αρχείο PostScript, EPS, PCL ή PWG Raster ανεξάρτητο driver

Syntax

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);

Parameters

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