BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Amit,
Thank you for your interest in Syncfusion
products.
We are unable to reproduce the mentioned issue
with table content in Doc to Pdf conversions with our latest version of
Essential studio 12.3.0.36. Could you please let us know currently which
version of Essential studio you are using? It will help us to analyse further
on the mentioned issue.
You can download our latest version Essential
studio from below link:
Please let us know if
you have any other questions.
Regards,
Sathish
Hi Amit,
We unable to reproduce
the mentioned issue with table contents in Doc to Pdf conversion even with
11.3.0.30 version also. We have prepared a sample to illustrate the same.
Kindly modify the attached sample to reproduce the issue and update us the
same. Thereby we will analyze further on the mentioned issue and provide you
appropriate solution.
Please let us know if
you have any other questions.
Regards,
Sathish
Hi Amit,
Thank you for your
update.
When we set
“Automatically resize to fit contents” property of the table in the Word
document to true, then the viewer (MS Word) will automatically resizes the
width of the table based on the contents while opening the document. MS Word
generated Pdf documents will contain the same width for the table when
“Automatically resize to fit contents” property is set to true.
By default value of
the “Automatically resize to fit contents” property is false. You can define this
property value to true in DocIO by using the below code snippet.
Code snippet:
table.TableFormat.IsAutoResized = true;
This will be reflected
in the Word document while opening the document in MS Word and it will not be
reflected in the generated Pdf document since currently DocIO doesn’t support
“Automatically resize to fit contents” property in Doc to Pdf conversion. We have already
logged this as a feature request in our database. We will implement this
feature in any of our upcoming releases. We usually have an interval of at
least three months between releases. The feature implementation would also
greatly depend on the factors such as product design, code compatibility and
complexity. We will update you when this feature has been implemented.
As a workaround kindly
define the desired width to the table in order to retain the expected format.
We have modified your sample according to the same. Please find the modified
sample from below link.
Modified sample link:
http://www.syncfusion.com/downloads/support/directtrac/general/Sample501008199.zip
Please let us know if
you have any other questions.
Regards,
Sathish
Hi Nishant,
Thank you for your interest in Syncfusion products.
Auto fit to contents for tables in Doc to Pdf conversion is not yet added in DocIO. We have already logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented.
Please let us know if you have any other questions.
Regards,
Sathish
Hi Nishant,
As mentioned earlier, kindly define the desired width for the table cells in the input Word document in order to preserve the well formatted table in the generated Pdf document.
Thanks,
Sathish