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. Image for the cookie policy date

Error when cloning images

Hello,

I currently use the lastest version of syncfusion.

In my application, I mailmerge several word documents (but don't save them) and then clone each document in one master document (this one is saved at the end).

See the attached file for the code.

Two kinds of error occure :

1.
à System.Drawing.Image.get_Width()
à System.Drawing.Image.get_Size()
à Syncfusion.DocIO.DLS.WPicture.ConvertSize(Image image)
à Syncfusion.DocIO.DLS.WPicture.CheckPicSize()
à Syncfusion.DocIO.DLS.WPicture.get_Size()
à Syncfusion.DocIO.DLS.WPicture.get_Height()
à Syncfusion.DocIO.DLS.WPicture.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.ParagraphItemCollection.CloneItemsTo(ParagraphItemCollection items)
à Syncfusion.DocIO.DLS.WParagraph.CloneParagraph(Boolean cloneItems)
à Syncfusion.DocIO.DLS.WParagraph.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.EntityCollection.CloneTo(EntityCollection destColl)
à Syncfusion.DocIO.DLS.WTextBody.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.WSection.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.WSection.Clone()

2.
à System.Drawing.Image.Clone()
à Syncfusion.DocIO.DLS.WPicture.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.ParagraphItemCollection.CloneItemsTo(ParagraphItemCollection items)
à Syncfusion.DocIO.DLS.WParagraph.CloneParagraph(Boolean cloneItems)
à Syncfusion.DocIO.DLS.WParagraph.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.EntityCollection.CloneTo(EntityCollection destColl)
à Syncfusion.DocIO.DLS.WTextBody.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.WSection.CloneImpl()
à Syncfusion.DocIO.DLS.Entity.Clone()
à Syncfusion.DocIO.DLS.WSection.Clone()


Is it sommething wrong in my code ?

Marie



DOCIO - Error when clone images_f84cea33.zip

3 Replies

AD Administrator Syncfusion Team July 1, 2008 01:57 PM UTC

Anoher error while testing...

3.
à System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
à System.Drawing.Image.Save(Stream stream, ImageFormat format)
à Syncfusion.DocIO.DLS.WPicture.LoadBitmap(Image image)
à Syncfusion.DocIO.DLS.WPicture.LoadImage(Image image)
à Syncfusion.DocIO.DLS.MailMerge.UpdateMergedPicture(IWMergeField field, IWParagraph paragraph, MergeImageFieldEventArgs args)
à Syncfusion.DocIO.DLS.MailMerge.UpdateImageFieldValue(IWMergeField field, IWParagraph paragraph, IRowsEnumerator rowsEnum)
à Syncfusion.DocIO.DLS.MailMerge.ExecuteForParagraphs(BodyItemCollection paragraphs, IRowsEnumerator rowsEnum)
à Syncfusion.DocIO.DLS.MailMerge.ExecuteForSection(IWSection sec, IRowsEnumerator rowsEnum)
à Syncfusion.DocIO.DLS.MailMerge.Execute(IRowsEnumerator rowsEnum)
à Syncfusion.DocIO.DLS.MailMerge.Execute(DataTable table)

Regards,

Marie




BP Bhuvaneswari P Syncfusion Team July 7, 2008 12:23 PM UTC

Hi Marie,,

Thank for your interest in Syncfusion product.

You have provided only partial code. I am unable to reproduce the issue using the code provided. Could you please provide me the final documents which you are going to merge or provide me the whole sample with data table, it would be helpful for us to reproduce in my end and investigate more on this issue.

Best Regards,
Bhuvana





AD Administrator Syncfusion Team July 8, 2008 09:06 AM UTC

Hello,

Thanks for answering quickly.

The application has a copyright. I cannot give you the whole code. I will create a small project with the needed code and data.

I will be absent next week. So i give you all when I go back to the office.

Regards,

Marie


Loader.
Live Chat Icon For mobile
Up arrow icon