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 LongDLL
int DLExportPageSVGToFile(int InstanceID, int Page, int Options, const wchar_t * FileName);
int DLExportPageSVGToFileA(int InstanceID, int Page, int Options, const char * FileName);Parameters
| Page | Het paginanummer, beginnend bij 1 |
|---|---|
| Options | Hetzelfde optiebitmasker dat ExportPageSVG accepteert, waarbij nul PDF_SVG_DEFAULT kiest |
| FileName | Destination 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