How to convert word documents intact for PDF document

I have some word file,and now I want to convert the word each page to pdf.
but some format change.May I convert the word each page intact for pdf?


Thanks for your inquiry. Yes, this is possible. Please see PdfSaveOptions.PageIndex and PdfSaveOptions.PageCount properties and the following example which converts just one page (third page in this example) of the document to PDF.

Document doc = new Document(MyDir + "Rendering.doc");
using (Stream stream = File.Create(MyDir + "Rendering.SaveToPdfStreamOnePage Out.pdf"))
    PdfSaveOptions options = new PdfSaveOptions();
    options.PageIndex = 2;
    options.PageCount = 1;
    doc.Save(stream, options);

I hope, this helps.

Best regards,