Free Support Forum - aspose.com

Aspse.Word

Hi,

I am using the Aspose.Word library.

Can I get the content/Load of PDF using Aspose.Word.Document class


Hi Satya,


Thanks for you inquiry. I’m moving your request to the related forum; Aspose.Word. There one of my associated colleagues will answer you soon.

Best Regards,

Hi Satya,


Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word do. If you try to open PDF file in MS Word, the PDF contents are loaded as follow. Aspose.Words does the same.

%PDF-1.5
%µµµµ
1 0 obj
<</Type/Catalog/Pages 2 0 R/Lang(pl-PL) /StructTreeRoot 33 0 R/MarkInfo<</Marked true>>>>…


So, you can not load PDF document into Aspose.Words Document instance correctly. Please read LoadFormat and SaveFormat Enumerations for your kind reference and use Aspose.PDF component for your requirements. You can post such queries at Aspose.PDF forum. You can work with Text, Images, Stamps, Watermarks, attachments, Bookmarks, Forms, Annotations etc by using Aspose.PDF.

Hope this answers your query. Please let us know if you have any more queries.