Print Page | Close Window

Wrap Text in a iTextObject

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11164
Printed Date: 07 May 2024 at 6:26am


Topic: Wrap Text in a iTextObject
Posted By: mastone
Subject: Wrap Text in a iTextObject
Date Posted: 21 Sep 2010 at 9:15pm
Hello,
i use crystal 10 and aspnet 3.5 (vb2008).
i have the problem. wrap text in a textobject
 
this is my code:
 
Dim txt As CrystalDecisions.CrystalReports.Engine.TextObject

txt = report.ReportDefinition.ReportObjects("txtobject")

I try
txt.Text = vbCrLf & "MyText"
Or 
txt.Text = chr(13) & "MyText"
 
but not it works. my text not change line.
thank you



Print Page | Close Window