Hi Aspose,
We are encountering a stack overflow exception on the attached type of Word documents, and have no way of checking what’s going on, as this type of exception cannot be handled in any way.
Can You please test the scenario with the attached document? It’s a straight forward doc 2 pdf conversion as below:
public string ConvertWordDocument(string inputPath)
{
var outputPath = SetOutputPath(inputPath);
var document = new Aspose.Words.Document(inputPath);
var saveOption = new Aspose.Words.Saving.PdfSaveOptions
{
FontEmbeddingMode = PdfFontEmbeddingMode.EmbedNonstandard,
UseHighQualityRendering = true
};
document.Unprotect();
document.Save(outputPath, saveOption);
return document.GetText();
}