I tried the example from : Options When Converting to PDF|Aspose.Words for .NET
But no Outline is generated in the created PDF document.
var options = new Aspose.Words.Saving.PdfSaveOptions();
//options.OutlineOptions.CreateMissingOutlineLevels = true;
//options.OutlineOptions.DefaultBookmarksOutlineLevel = 1;
options.OutlineOptions.HeadingsOutlineLevels = 3;
options.OutlineOptions.ExpandedOutlineLevels = 1;
wordsDocument.Save(outputFilePath, options);
What is wrong with the logic?