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, Options는 RenderPagesToPrintStream을 따르며 FileName은 출력 경로입니다

반환 값

성공하면 1, 실패하면 0을 반환합니다

비고

호출이 실패하면 부분 출력 파일을 제거하며, ANSI DLL 진입점은 페이지 범위와 파일 이름을 UTF-8로 디코딩함

참고 항목

RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer