RTF with table - wrong calculated height

Stimulsoft Reports.NET discussion
Post Reply
rksaskia
Posts: 58
Joined: Fri Apr 27, 2012 9:16 am

RTF with table - wrong calculated height

Post by rksaskia »

Hello,

if we use an RTF with tables, the height of RichText control incorrectly calculated (with CanGrow = true).
We used Version 2012.1

Here is a simple example:
SampleReport

Open the report and preview
Preview with "AutoSize" (cangrow=true): table is cut off, the last lines are not displayed

Attachments
1833.peviewwithmanuelheight.JPG
1833.peviewwithmanuelheight.JPG (108.54 KiB) Viewed 1478 times
1832.previewwithcangrow.JPG
1832.previewwithcangrow.JPG (93.72 KiB) Viewed 1478 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

RTF with table - wrong calculated height

Post by Ivan »

Hello,

All output of RTF component is produced through Riched20.dll library. Not all version of this dll work correctly.
By default .NET virtual machine load the old riched20.dll from the Windows directory.
You can find new version of this dll, for example, in c:\Program Files\Common Files\Microsoft Shared\Office10 (11, 12)
Here is the list of the versions of all dlls which comes with different software:

v3.0 - WinXP (standard)
v4.0 - OfficeXP
v5.0 - Office2003 (we have this on our site)
v6.0 - Office2007

Please update this dll (or place it in the folder with our dlls which have been used in project) if you have a version is less than 5.0

Article in our knowledgebase:
http://stimulsoft.helpserve.com/index.p ... ticleid=41

Thank you.
rksaskia
Posts: 58
Joined: Fri Apr 27, 2012 9:16 am

RTF with table - wrong calculated height

Post by rksaskia »

Hello,

thanks, it works!

Have a nice day!
:biggrin:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

RTF with table - wrong calculated height

Post by HighAley »

Hello.

We are very glad to help you.
Let us know if you'll have any problems with our product.

Thank you.
Post Reply