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();
lic->SetLicense(u"d:\Aspose.Total.C++.lic");

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

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()
{
ConvertToDOC();
}
Throws a System::ArgumentOutOfRangeException when executing the save() function。

@louk77

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.

@louk77

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

@louk77

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.

input_out-05-07-2019.zip (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.

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