Good day!
I was trying to convert a Wordpad file to image it consist of 4 pages, but while in the process of converting, the code only detects 1 page only.
The file is attached.
Here's my code:
for (int x = 0; x < document.BuiltinDocumentProperties.PageCount; x++)
{
Image imageDocument = document.SaveToImages(x, Spire.Doc.Documents.ImageType.Metafile);
imageDocument.Save(downloadPath + "_" + repFIleName + "_" + x + ".jpg", System.Drawing.Imaging.ImageFormat.Bmp);
}
Thank you in advance