For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-.NET
public static void ConvertToWordDocumentAdvanceOptionswithtrackchanges()
{
// Instantiating the conversion handler from custom common class
ConversionHandler conversionHandler = Common.getConversionHandler();
//Set password to unprotect protected document during loading
LoadOptions loadOptions = new LoadOptions { Password = "secret" };
// convert file to Doc, starting from page 2 and convert 2 pages,
SaveOptions saveOptions = new WordsSaveOptions
{
ConvertFileType = WordsSaveOptions.WordsFileType.Doc,
PageNumber = 2,
NumPagesToConvert = 2,
HideWordTrackedChanges = true,
};
// Unprotect input document, Convert and save word processing documents using advance options with Show/Hide Track changes.
// Returns the converted word processing documents as IO Stream with Show/Hide Track changes.
var convertedDocumentStream = conversionHandler.Convert(Common.inputGUIDFile, loadOptions, saveOptions);
MemoryStream targetStream = new MemoryStream();
convertedDocumentStream.Save(targetStream);
}