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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error when cloning images

Thread ID:

Created:

Updated:

Platform:

Replies:

74861 Jul 1,2008 10:36 AM UTC Jul 8,2008 09:06 AM UTC WinForms 3
loading
Tags: DocIO
Administrator [Syncfusion]
Asked On July 1, 2008 10:36 AM UTC

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

Administrator [Syncfusion]
Replied On 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



Bhuvaneswari P [Syncfusion]
Replied On 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




Administrator [Syncfusion]
Replied On 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


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.

Warning Icon 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.Close Icon

;