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 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);返回值
成功时返回 1,失败时返回 0
备注
调用失败会删除其部分输出文件;ANSI DLL 入口点会将页面范围和文件名解码为 UTF-8
另请参阅
RenderPagesToPrintStream、RenderPagesToPrintData、RenderPagesToPrintBuffer