Want To Convert Docx to Doc using Aspose.word- not Doc.save ()

Hi I have Docx which generating by ,DocumentFormat.OpenXml.Wordprocessing, i want to convert this to Doc,below i have sample code which generating Docx,

protected override Document GenerateDocument()
{
    Document doc = new Document();
    Body body = new Body();
    doc.Body = body;
    AddParagraph(body, values.FromAddress1);
    AddParagraph(body, values.FromCity + ", " + values.FromState + ", " + values.FromPostalCode);
    AddParagraph(body, string.Empty);
    AddParagraph(body, string.Empty);
    AddParagraph(body, values.LetterDate.ToString("MM/dd/yyyy"));
    AddParagraph(body, string.Empty);
    AddParagraph(body, values.ToName);
    AddParagraph(body, string.Empty);
    AddParagraph(body, "Dear " + values.ToName);
    AddParagraph(body, string.Empty);
    AddParagraph(body, "Sincerely,", true);
    AddParagraph(body, values.FromTitle, true);
    AddParagraph(body, values.FromAddress1, true);
    AddParagraph(body, values.FromPhone);
    CreateNoticePage(body, true);
    AddSectionProperties(body);
    return doc;
}

Thanks and Regards

This message was posted using Page2Forum from About Document Conversions in Aspose.Words - Aspose.Words for .NET and Java

Hi

Thanks for your request. When you open document using Aspose.Words, this document is converted to Aspose.Words DOM. Please see the following link to learn more about Aspose.Words Document Object Model (DOM) and its relationships.
https://docs.aspose.com/words/net/aspose-words-document-object-model/
So there is no difference what the input format is, internally DOM is the same.
Best regards,