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
close icon

Document size

Hi,

I have used Your library for reading and saving a Word Document.

The code is the following:

Dim wd As New WordDocument
wd.Open(srcName, Syncfusion.DocIO.FormatType.Doc)

wd.Save(tgtName, Syncfusion.DocIO.FormatType.Doc)
wd.Close()

After creating the document the size of the new document is smaller than original.

Original size: 950KB
New size: 677KB

Could You please give me any hints?

Regards,
RFelix



doc_00002_000014792.SYNC_1a24d391.zip

1 Reply

LD Lakshmi Devi S Syncfusion Team September 30, 2011 12:36 PM UTC

Hi RFelix,

Thank you for your interest in Syncfusion products.

The size of the document generated using DocIO may decrease due to the following reasons.
1. DocIO does not write the data of unsupported elements while saving the document. Please refer the user guide for more information about the list of elements supported by DocIO.
UG documentation link:
http://help.syncfusion.com/ug_93/Reporting/DocIO/Windows%20Forms/Documents/410supportedelements.htm

2. In our previous releases we have optimized save operation which prevents writing of unwanted information (bytes) while saving the document according to MS Word file format specification.

Hence the decrease in size of the DocIO generated documents does not cause any data loss.

Please let us know if you have any questions.

Regards,
Lakshmi Devi S


Loader.
Live Chat Icon For mobile
Up arrow icon