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

SpecifyingImageFolder() public static method

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

            // Load the PDF file
            Document doc = new Document(dataDir + "PDFToHTML.pdf");
            // ExStart:SpecifyingImageFolder
            // Create HtmlSaveOption with tested feature
            HtmlSaveOptions newOptions = new HtmlSaveOptions();

            // Specify the separate folder to save images
            newOptions.SpecialFolderForAllImages = dataDir;
            // ExEnd:SpecifyingImageFolder
            // Save the output file
            doc.Save(dataDir + "SpecifyingImageFolder_out.html", newOptions);
            
        }
        public static void CreateSubsequentFiles()