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 : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Invisible images in DocIO

Thread ID:

Created:

Updated:

Platform:

Replies:

56637 Feb 17,2007 06:34 PM UTC Feb 20,2007 02:03 PM UTC WinForms 5
loading
Tags: DocIO
Gordon McComb
Asked On February 17, 2007 06:34 PM UTC

I am avaluating DocIO for use in document assembly. I recently downloaded version 4.4.0.51, which I believe is the latest version. I am using only the prepared Windows forms samples so far and have not modified them in any way. I am using VS 2003, and the VB.NET samples, though the same thing happens with the C# samples.

A consistent problem is that images are never shown. The layout of the image is there -- you can click on them and the handles appear around a box that is the same size as the image. The "invisible image" can be copied and pasted into another document, and it's invisible there too.

The image cannot be edited. In Word the Edit Picture command has no effect, and if the image is copied and pasted into a graphics program like Paint, nothing is inside its rectangle.

An example is the SalesInvoice sample. The template document contains two embedded images. When this document is processed using the sample code the document is output correctly, but the images are not visible.


Gordon McComb
Replied On February 17, 2007 06:45 PM UTC

Some additional information regarding the above that might be useful.

I am using Word 2000 with SR1 patch. I just tried opening the file in the Word 2003 Viewer, and the images DO appear there.

So this looks like a bug related to Word 2000. Unfortunately, Word 2000 is still heavily used (particularly my clients, most of whom are lawyers who are slower to change), so I would be interested in knowing if this is something that can be fixed.

Gordon McComb
Replied On February 17, 2007 07:56 PM UTC

Sorry to answer my own posts but I have discovered the issue is not with Word 2000, but does appear to be graphics corruption.

I am using the SalesInvoiceDemo.doc sample, because it has graphics in the file already, and the sample code does not insert the graphics programmatically.

1. The original SalesInvoiceDemo.doc can be opened -- and the graphics are visible -- in Word 2000, Word 2003 viewer, WordPad, and (when converted to RTF in Word 2000) in a RichTextBox control.

2. The graphics are not visible in the processed output file when opened with Word 2000, WordPad (it complains of an unrecognized graphics file format), or in the RichTextBox. I have verified the RTF file contains the graphic image.

I am using XP SP2, and the machine is fully patched. I am using the RTF control in .NET 2003.


Melba Winshia [Syncfusion]
Replied On February 19, 2007 06:50 AM UTC

Hi GMcComb,

Thanks for your interest in Essential DocIO.

There were some issues with invisible images in Word 2000. However, this issue has been fixed internally and will be available in our next release. Could you please create a Direct-Trac incident regarding this so that I can provide you with a preview version which includes the fix.

Here is the output file generated in the SalesInvoice sample with our internal version:

Sample.doc

Kindly let me know if you have any other questions.

Thanks,
Melba

Gordon McComb
Replied On February 19, 2007 04:36 PM UTC

I will provide the incident for bug tracking.

Please also check your internal version for something else I noticed: If the original image is set to anything other than in-line with text, it causes an unrecoverable crash in Word 2000 when the document is loaded. The same document takes longer (3-4 seconds, as opposed to 1-2 seconds) to load in Word 2003 Viewer, indicating to me some type of internal error condition that the viewer is compensating for.

Melba Winshia [Syncfusion]
Replied On February 20, 2007 02:03 PM UTC

Hi GMcComb,

Thanks for creating Direct Trac incident. Your Direct Trac support incident has been updated.

Kindly let me know if you have any other questions.

Regards,
Melba

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

;