Hi,
I am attaching an RTF file to my report with the following code:
Dim rt As Stimulsoft.Report.Components.StiRichText = EPDReport.GetComponents()("rtfExtraInfo")
Dim rtb As New RichTextBox
rtb.LoadFile(ExtraInfoFileName)
rt.RtfText = rtb.Rtf
This works fine provided that the RTF data is no more than one page in length.
If the RTF file (when viewed in MS Word) is more than one page, when I load it into my report the RTF data does not extend onto an extra page in my report, it just gets chopped off at the foot of the page.
In my report design I have an rtf component within a Databand. Here are some of the properties I have set:
Databand:
CanBreak = True
CanGrow = True
CountData = 1
NewPageBefore = True
SkipFirst = False
RTF:
CanBreak = True
CanGrow = True
GrowToHeight = True
Wysiwyg = True
Here is a representation of what I am trying to achieve:
Page 1
----REPORT HEADING----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----REPORT FOOTER ----
Page 2
----REPORT HEADING----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----RTFDATARTFDATA----
----REPORT FOOTER ----
Hope you can help.
RTF not extending on to next page
RTF not extending on to next page
Hello,
We couldn't reproduce this bug.
Can you please send us a sample report with data or a simple test project, which reproduces the issue?
Thank you.
We couldn't reproduce this bug.
Can you please send us a sample report with data or a simple test project, which reproduces the issue?
Thank you.