ExportPageSVGToFile

Vectorgraphics, SVG, bestandsuitvoer

Beschrijving

Exporteert één PDF-pagina naar een zelfstandig UTF-8 SVG-bestand

Syntaxis

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 Long

DLL

int DLExportPageSVGToFile(int InstanceID, int Page, int Options, const wchar_t * FileName);
int DLExportPageSVGToFileA(int InstanceID, int Page, int Options, const char * FileName);

Parameters

PageHet paginanummer, beginnend bij 1
OptionsHetzelfde optiebitmasker dat ExportPageSVG accepteert, waarbij nul PDF_SVG_DEFAULT kiest
FileNameDestination SVG file name

Retourwaarden

Retourneert 1 nadat het volledige UTF-8 SVG-bestand is geschreven, of 0 wanneer validatie, extractie, codering of bestandsuitvoer mislukt

Opmerkingen

De bestemming bevat dezelfde zelfstandige SVG die ExportPageSVG teruggeeft De ANSI-DLL-variant interpreteert

FileName volgens de geconfigureerde ANSI-modus

LastErrorCode is 119 bij een ongeldige pagina, opties of bestandsnaam en 522 wanneer export of bestandsuitvoer mislukt

Zie ook

ExportPageSVG, ExportPageHTML, SaveToFile