Received : 2007/10/14 22:45:51
Message : We are currently using Aspose.Words to mail merge images into a document, and would like to be able to do a similar thing with Aspose.Cells.
To perform a mail merge within Aspose.Cells, we are using the following code...
Dim MyWorkbookDesigner As WorkbookDesigner = New WorkbookDesigner()
...and, this is working fine.
However, the code that we are using to handle the merging of images within within Aspose.Words is...
AddHandler MyDocument.MailMerge.MergeImageField, AddressOf MergeImageFieldHandler
Protected Overridable Sub MergeImageFieldHandler(ByVal Sender As Object, ByVal e As Aspose.Words.Reporting.MergeImageFieldEventArgs)
If e.FieldName = "ImageField" Then
If Not e.FieldValue Is DBNull.Value Then
e.ImageFileName = HttpContext.Current.Server.MapPath("~/Images/Image.png")
e.ImageFileName = HttpContext.Current.Server.MapPath("~/Images/Spacer.gif")
...and to the best of my knowledge there is no equivalent within Aspose.Cells, or at least no simple equivalent. I can find no similar events to handle.
Is there an equivalent that we can make use of?
This message was posted using Aspose.Live 2 Forum