RenderPagesToPrintFileA

렌더링, 인쇄, 파일 출력

설명

RenderPagesToPrintFile의 ANSI 변형

문자열 매개변수를 ANSI 텍스트로 받고 그 밖의 동작은 넓은 문자열 진입점과 동일함

구문

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

반환 값

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

비고

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

참고 항목

RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer