ExportPageSVGToFileA
矢量图形、SVG、文件输出
描述
ExportPageSVGToFile 的 ANSI 变体
字符串参数按 ANSI 文本接受,其余行为与宽字符串入口点完全相同
语法
Delphi
Function TPDFlib.ExportPageSVGToFile(Page, Options: Integer; Const FileName: WideString): Integer;ActiveX
Function PDFlib::ExportPageSVGToFile(Page As Long, Options As Long, FileName As String) As LongDLL
int DLExportPageSVGToFile(int InstanceID, int Page, int Options, const wchar_t * FileName);
int DLExportPageSVGToFileA(int InstanceID, int Page, int Options, const char * FileName);返回值
完整的 UTF-8 SVG 文件写入后返回 1;验证、提取、编码或文件输出失败时返回 0
备注
目标文件包含由 ExportPageSVG 返回的同一份自包含 SVG
ANSI DLL 变体根据配置的 ANSI 模式解释 FileName
页面、选项或文件名无效时 LastErrorCode 为 119,导出或文件输出失败时为 522