Aspose.Pdf.Examples.CSharp.AsposePDF.DocumentConversion.PDFToDOC.SaveUsingSaveOptions C# (CSharp) Method

SaveUsingSaveOptions() public static method

public static SaveUsingSaveOptions ( ) : void
return void
        public  static void SaveUsingSaveOptions()
        {
            // ExStart:SaveUsingSaveOptions
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();           
          
            // Open the source PDF document
            Document pdfDocument = new Document(dataDir + "PDFToDOC.pdf");            

            // Save using save options
            // Create DocSaveOptions object
            DocSaveOptions saveOptions = new DocSaveOptions();

            // Set the recognition mode as Flow
            saveOptions.Mode = DocSaveOptions.RecognitionMode.Flow;

            // Set the Horizontal proximity as 2.5
            saveOptions.RelativeHorizontalProximity = 2.5f;

            // Enable the value to recognize bullets during conversion process
            saveOptions.RecognizeBullets = true;

            // Save the resultant DOC file
            pdfDocument.Save(dataDir + "saveOptionsOutput_out.doc", saveOptions);
            // ExEnd:SaveUsingSaveOptions
        }
        public static void ConvertToDOCX()