Free Support Forum - aspose.com

More Page Information as in the Document

Hallo,

we have a Problem with ASPOSE.WORDS for .NET.
The PDF-File has 3 Pages, in the Propertys, we get for example by

"rotation_dokument" = ‘0;0;0;0’
“seite_dokument” = '0-3’

this Values.

I hope you can help.
If it needed we can send the PDF-File.

Hi Holger,

Thanks for showing interest in Aspose products.

I feel that your query seems more related to Aspose.Words and I am moving this thread to respective forum where by our fellow support team will give you some better technical advise.

Thanks and Regards,

Hallo,

we have a Developer OEM Subscription,
the User how have the Original Useraccount is in Hollidays.
So i must go this way.

Hi Holger,

Thanks for your request. Unfortunately, it is not quite clear for me what the problem is. Could you please clarify what the problem is and attach your input and output document here?

Best regards,

We conevert the follow Worddokument to PDF.

The Worddokument have 4 Pages, the convertet PDF have more Pages as the Worddokument.
If we get the Information for the PDF it have more Pages as the Worddokument in the Propertys.

We don´t know why the PDF have in his Property´s more Pages as the Original Worddokument.

Hello

Thank you for additional information. I cannot reproduce the problem on my side using the latest version of Aspose.Words (10.0.0) for testing.

You can download the latest version from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

I use the following code:

// Open document.

Document doc = new Document("C:\\Temp\\your.doc");

doc.Save("C:\\Temp\\out.pdf");

Best regards,

Hallo,

we use the following Code to write it to a Stream and save it later in a Database.

MemoryStream dokumentStream = new MemoryStream();
PdfSaveOptions pdfOptions = new PdfSaveOptions();

Document workingDokument = new Document(pathToWord);
pdfOptions.Compliance = PdfCompliance.PdfA1b;
workingDokument.Save(dokumentStream, pdfOptions);

byte[] returnBuffer = dokumentStream.GetBuffer();
dokumentStream.Close();

return returnBuffer;

Hello

Thank you for additional information. But I still cannot reproduce the problem on my side using the latest version of Aspose.Words (10.0.0) for testing.

Could you please try using the latest version of Aspose.Words and let me know how it goes on your side.

Best regards,