Aspose pdf ++ 19.1 cann't conversion pdf to word


#include “Document.h”
#include “License.h”

#include “DocSaveOptions.h”
#include “system/io/file.h”

void ConvertToDOC()
// ExStart:ConvertToDoc
auto lic = System::MakeObjectAspose::Pdf::License();

if (!System::IO::File::Exists(u"d:\\input.pdf"))

auto doc = System::MakeObject<Aspose::Pdf::Document>(u"d:\\input.pdf");
doc->Save(u"d:\\input_out.doc", System::MakeObject<Aspose::Pdf::DocSaveOptions>());
// ExEnd:ConvertToDoc	


void main()
Throws a System::ArgumentOutOfRangeException when executing the save() function。



Would you please share your sample PDF document with us. We will test the scenario in our environment and address it accordingly.


@ asad.ali
I am using the pdf in your product.



We are testing the scenario and will get back to you shortly.



We have tested the scenario in our environment using Aspose.PDF for C++ 19.6 and were unable to notice any issue like you have mentioned. For your kind reference, an output document is also attached. (22.7 KB)

Could you please try using latest version of the API and in case you still face any issue, please feel free to let us know.


I am now replacing it with [Aspose.PDF for .NET].
We gave up Aspose.PDF for c++.
thank u very much!