Hello !
We are a software publisher using your library for our Web application.
And we used Aspose.Word for converting Word to Pdf.
I have this file containing numbering :
Test aspose.docx (16.5 KB)
when i tried to convert to pdf with this specifics value :
- Markup = “All Markup”
- DeletedTextEffect = “Hidden”
- InsertedTextColor = “Blue”
the result is :
Test aspose.pdf (18.9 KB)
We can see on the screen numering is not removed but it’s keep and applied the “Inserted text color”.
FileInfo destination = new FileInfo(dest);
PdfSaveOptions saveOptions = new PdfSaveOptions(){
SaveFormat = SaveFormat.Pdf,
}
//Specified revision options before convert to PDF
doc.LayoutOptions.RevisionOptions.InsertedTextEffect = RevisionColor.Blue;
doc.LayoutOptions.RevisionOptions.DeletedTextEffect = RevisionTextEffect.Hidden;
if (!destination.Directory.Exists)
destination.Directory.Create();
doc.Save(destination.FullName, saveOptions);
Thanks by advanced.