All pages of doc are not getting converted into images

all pages of doc are not getting converted into images

@amrit007,

Thanks for your inquiry. Please ZIP and upload your input Word document (you are getting this problem with) here for testing. We will then investigate the issue on our end and provide you more information.

unable to upload file here

@amrit007,

Please upload the ZIP file to Dropbox or any other file hosting service and share the download link here.

asp.zip (182.9 KB)
Here is the doc

@amrit007,

It might be that the problem occurs because you are using Aspose.Words in evaluation mode (without applying license). Please apply license before performing any document processing tasks. Hope, this helps.

for other doc files, the conversion is happening upto 7-8 pages.
but for this doc only, its happening for 1 page.
and yes, this is evaluation mode .

@amrit007,

If you want to test Aspose.Words without the evaluation version limitations, you can also request a 30-day Temporary License. Please refer to How to get a Temporary License?

okay. But why its happening only for this particular document?

@amrit007,

Please ZIP and upload your input Word document ( you are getting this problem with ) here for testing. We will then investigate the issue on our end and provide you more information.

this is the word document

@amrit007,

I am afraid, we do not see any new attachments in this thread. If your file size is big then you may upload the ZIP file to Dropbox or any other file hosting service and share the download link here for testing.

asp.zip (182.9 KB)
Now??

@amrit007,

MS Word 2016 displays three pages inside your DOC file. You can use the following code of Aspose.Words for .NET API to convert each page in this DOC to a separate JPG image file:

Document doc = new Document("D:\\asp\\asp.doc");

ImageSaveOptions opts = new ImageSaveOptions(SaveFormat.Jpeg);
opts.PageIndex = 0;
opts.PageCount = doc.PageCount;
opts.PageSavingCallback = new HandlePageSavingCallback();

doc.Save("D:\\asp\\18.9.jpg", opts);

The class implementing the IPageSavingCallback Interface is:

private class HandlePageSavingCallback : IPageSavingCallback
{
    public void PageSaving(PageSavingArgs args)
    {
        args.PageFileName = string.Format(@"D:\Temp\Asp\Page_{0}.jpg", args.PageIndex);
    }
}

Hope, this helps.