RenderPagesToPrintFile

Rendering, printing, file output

Popis

Writes selected pages as a complete driver-independent PostScript, EPS, PCL, or PWG Raster file

Syntaxe

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

Parametry

DPI, PageRanges, PrintFormat, and Options follow RenderPagesToPrintStream; FileName is the output pathNávratové hodnotyReturns 1 on success and 0 on failure

Remarks

Neúspěšné volání odstraní svůj nekompletní výstupní soubor; ANSI vstupní bod DLL dekóduje rozsahy stránek a názvy souborů jako UTF-8

Viz také

RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer