We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Only the attached dokument can not be converted to PDF, I get an error "invalid parameters" .

Thread ID:

Created:

Updated:

Platform:

Replies:

123791 Apr 21,2016 10:17 AM Apr 25,2016 03:25 AM ASP.NET MVC 3
loading
Tags: DocIO
Testname
Asked On April 21, 2016 10:17 AM

Only the attached dokument can not be converted to PDF, I get an error  "invalid parameters" .

//_tempDatei where I did some working
               using (MemoryStream ms = new MemoryStream(_tempDatei))
                {
                    WordDocument wordDoc = new WordDocument(ms);

                    DocToPDFConverter converter = new DocToPDFConverter();

                    PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);//after here I get an error "ungültige Parameter",something like "invalid parameters"      

                    pdfDoc.Save(tempWordPdfFile);  
                    pdfDoc.Save(_tempMemoryStream);
                    _tempDatei = _tempMemoryStream.ToArray();

                    wordDoc.Close();
                    converter.Dispose();
                    pdfDoc.Close();
                }

Attachment: dowsNotWork_18b4fab6.7z

Vijay Ramachandran [Syncfusion]
Replied On April 22, 2016 08:09 AM

Hi,

Thank you for contacting Syncfusion support.

We are able to reproduce the mentioned InvalidArgumentExcption issue while converting the given input Word document as PDF and this issue will be fixed in our 2016 Volume 2 Major release.

On further analysing the given input Word document, we found that the input Word document have GroupShapes. Currently, DocIO does not support GroupShapes in Word to PDF conversion. We have already logged this as a feature and the feature will be available in any of our upcoming releases. Please check our website periodically for feature related updates.

Regards,
Vijay R



Testname
Replied On April 22, 2016 09:04 AM

Can you convert the document the way I can use it for converting to pdf ?

Vijay Ramachandran [Syncfusion]
Replied On April 25, 2016 03:25 AM

Hi,

Thank you for your update.

We have tried to convert the given Word document as PDF with given code snippet in your previous update and we are able to reproduce the mentioned InvalidArgumentException in Word to PDF conversion. The issue will be fixed on our 2016 volume 2 Major Release.

Regards,
Vijay R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;