Convert pdf files to png or image file

Facing problem while convert pdf to image file(Png) using Aspose word using C#. Could you help us how to solve this issue in net with C# coding.

we have purchased full aspose word licesnse from my organization.

@Venkatd1464

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF document.
  • Please attach the output file that shows the undesired behavior.
  • Please attach the screen shots of problematic sections of output image.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

@Venkatd1464 You should note that PDF and PNG are fixed page formats, i.e. position of elements is fixed on the page. On other hand Aspose.Words document model if flow (it is designed to work with flow formats like MS Word documents). Upon loading PDF document to Aspose.Words it is converted to flow model and then when document is rendered to PNG it is converted into fixed page representation. Such conversion (Fixed page representation -> Flow page representation -> Fixed page representation) might have side effects for document layout.