Aspose.Pdf.Examples.CSharp.AsposePDF.DocumentConversion.PDFToHTML.SaveSVGFiles C# (CSharp) Method

SaveSVGFiles() public static method

public static SaveSVGFiles ( ) : void
return void
        public static void SaveSVGFiles()
        {
            // ExStart:SaveSVGFiles
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();

            // Load the PDF file
            Document doc = new Document(dataDir + "PDFToHTML.pdf");

            // Instantiate HTML save options object
            HtmlSaveOptions newOptions = new HtmlSaveOptions();

            // Specify the folder where SVG images are saved during PDF to HTML conversion
            newOptions.SpecialFolderForSvgImages = dataDir;

            // Save the output file
            doc.Save(dataDir + "SaveSVGFiles_out.html", newOptions);
            // ExEnd:SaveSVGFiles
        }
        public static void CompressSVGImages()