When i tried to load a document file which has some contents in the headers, the alighnment is getting changed (Center Aligned is getting changed as Left Aligned).
Attaching the Input and Output files.
I used the following code
Document m_oOutDoc = null; m_oOutDoc = new Document(@"c:\Input.doc"); m_oOutDoc.Save(@"c:\Output.doc");
Please let me know if i can use any other methods to resolve this issue.