i got the conversion to work from pdf to docx but the file that is returned has black bars around them. The file also uploaded to the aspose storage looks weird for example, please view the file i uploaded below.
this is the code im using to get the word file. its in .NET
var resultFileName = $"{Path.GetFileNameWithoutExtension(file.FileName)}.docx";
var fileStream = file.OpenReadStream();
await _asposePdfApi.PutPdfInRequestToDocAsync(Path.Combine("", resultFileName), file: fileStream, format: "docx");
var response = await _asposePdfApi.DownloadFileAsync(resultFileName);
return response;
Can anyone please help me figure out what im doing wrong with this?
please find the input pdf file below as well resume_tester.pdf (64.6 KB)
You can set the mode parameter value to ‘flow’ to remove the rectangle around the text(paragraph). It will help you accomplish the requirement. If there is some difference between your query and my understanding, then please share some screenshots to elaborate on the issue.