We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hi i have problem to convert from Docx(which generate DocumentFormat.OpenXml.Wordprocessing) to Doc

Hi All,
I want to convert Docx to Doc, but my Docx generated by
below here sample code which i want to change.

// Code// 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);
    CreateNoticePage(body, true);
    return doc;
/// last is doc which is return, how i change Docx to Doc, i dont have document name so far it can be dynamic.


Thanks for your request. I already answered this question in the following thread
Best regards,