andySF
andySF

Reputation: 604

Crystal Reports is cutting right text on report and paper

I got this problem that drive me crazy. I have a project in VS2013 with v.13.0.15.1840. I'm using a auto grow field (has his own section) in crystal reports that is displaying a text interpreted as RTF. The problem is that on preview and even paper, the right side of the text is cut off (see screenshot). If the text is justified the it shows OK but I have situations when I need the text align to left.

So far I tried but with no effect:

Does anyone know a solution for this?

result of text cutting

The field on designer: the field on the designer

Edited for further explanations:

The RTF code can be viewed at https://gist.github.com/andySF/7ca61ffbe6ab6da53ca1

Also another try was to put my field in a textbox and then setting the right margin of the textbox to 3cm. It appears that the margin is somehow overridden after the first paragraph.

field in textbox with 3cm right margin

Upvotes: 0

Views: 2310

Answers (1)

gr2
gr2

Reputation: 9

Use Modyfi your datasource text rtf before send in to report CR

model.Document= model.Document.Replace("\pard", "\pard\ri380")

Upvotes: 1

Related Questions