ExportPageSVGToFileA
Vector graphics, SVG, file output
Description
ANSI variant of ExportPageSVGToFile
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
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);Return values
Returns 1 after the complete UTF-8 SVG file is written, or 0 when validation, extraction, encoding, or file output fails
Remarks
The destination contains the same self-contained SVG returned by ExportPageSVG
The ANSI DLL variant interprets FileName according to the configured ANSI mode
LastErrorCode is 119 for an invalid page, options, or file name and 522 when export or file output fails